Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukeocodes/nuxt-starter-netlify-cms
Example nuxt + netlify cms project. Nuxt port of Gatsby starter app.
https://github.com/lukeocodes/nuxt-starter-netlify-cms
cms jamstack netlify netlify-cms nuxt nuxt-netlify-cms starter starter-template static-site-generator tailwind vue
Last synced: about 22 hours ago
JSON representation
Example nuxt + netlify cms project. Nuxt port of Gatsby starter app.
- Host: GitHub
- URL: https://github.com/lukeocodes/nuxt-starter-netlify-cms
- Owner: lukeocodes
- License: mit
- Created: 2020-11-05T11:21:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T00:09:02.000Z (almost 2 years ago)
- Last Synced: 2024-05-28T08:02:59.227Z (6 months ago)
- Topics: cms, jamstack, netlify, netlify-cms, nuxt, nuxt-netlify-cms, starter, starter-template, static-site-generator, tailwind, vue
- Language: Vue
- Homepage: https://nuxt-starter-netlify-cms.netlify.app/
- Size: 3.66 MB
- Stars: 16
- Watchers: 1
- Forks: 7
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Nuxt Content + Netlify CMS Starter Blog
[![Netlify Status](https://api.netlify.com/api/v1/badges/90509489-1678-40fa-aac3-ac1ce864a5d6/deploy-status)](https://app.netlify.com/sites/nuxt-starter-netlify-cms/deploys)
**Note:** This starter uses [Nuxt 2.14](https://nuxtjs.org/blog/nuxt-static-improvements/) and [@nuxt/content v1.1.0](https://content.nuxtjs.org/). This is a port of the [Gatsby + Netlify CMS Starter](https://github.com/netlify-templates/gatsby-starter-netlify-cms).
This repo contains an example business website that is built with [Nuxt.js](https://nuxtjs.org/), [@nuxt/content](https://content.nuxtjs.org/), and [Netlify CMS](https://www.netlifycms.org): **[Demo Link](https://nuxt-starter-netlify-cms.netlify.app/)**.
It follows the [Jamstack architecture](https://jamstack.org) by using Git as a single source of truth, and [Netlify](https://www.netlify.com) for continuous deployment, and CDN distribution.
## Features
- A simple landing page with blog functionality built with Netlify CMS and [@nuxt/content](https://content.nuxtjs.org/)
- Editable Pages: Landing, About, Product, Blog-Collection and Contact page with Netlify Form support
- Create Blog posts from Netlify CMS
- Tags: Separate page for posts under each tag
- Basic directory organization
- Uses TailwindCSS for styling from the [`@nuxtjs/tailwindcss`](https://github.com/nuxt-community/tailwindcss-module) module, with PurgeCSS included for minimal CSS.
- [`@tailwind/typography`](https://tailwindcss.com/docs/typography-plugin) configured for prose and responsive prose.
- Blazing fast loading times thanks to server-side rendering in [full static mode](https://nuxtjs.org/blog/going-full-static/).
- Separate components for everything
- Netlify deploy configuration
- ..and more## Sites Based On This
- [Vonage Learn](https://vonage-deved-platform.netlify.app) - Developer Education Platform for Vonage.com
- [Hacktoberfest Ninja](https://hacktoberfest.ninja) - Unofficial Hacktoberfest Site for Repo Tracking and Rules## Prerequisites
- Node (I recommend using v8.2.0 or higher)
- [Nuxt](https://nuxtjs.org/docs/2.x/get-started/installation)
- [Netlify CLI](https://github.com/netlify/cli)## Getting Started (Recommended)
Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.
### Access Locally
Pulldown a local copy of the Github repository Netlify created for you, with the name you specified in the previous step
```sh
git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
cd [REPO_NAME]
npm install
netlify dev # or ntl dev
```This uses the new [Netlify Dev](https://www.netlify.com/products/dev/?utm_source=blog&utm_medium=netlifycms&utm_campaign=devex) CLI feature to serve any functions you have in the `lambda` folder.
To test the CMS locally, you'll need to run a production build of the site:
```sh
netlify dev # or ntl dev
```## Getting Started (Without Netlify)
```sh
git clone https://github.com/lukeocodes/gatsby-starter-netlify-cms/ [SITE_DIRECTORY_NAME]
cd [SITE_DIRECTORY_NAME]
npm install# dev start
npm run dev# prod build and start
npm run generate
npm run start
```### Setting up the CMS
Follow the [Netlify CMS Quick Start Guide](https://www.netlifycms.org/docs/quick-start/#authentication) to set up authentication, and hosting.
## Debugging
Windows users might encounter `node-gyp` errors when trying to npm install.
To resolve, make sure that you have both Python 2.7 and the Visual C++ build environment installed.```sh
npm config set python python2.7
npm install --global --production windows-build-tools
```[Full details here](https://www.npmjs.com/package/node-gyp 'NPM node-gyp page')
MacOS users might also encounter some errors, for more info check [node-gyp](https://github.com/nodejs/node-gyp). We recommend using the latest stable node version.
## Contributing
Contributions are always welcome, no matter how large or small. Before contributing,
please read the [code of conduct](./github/CODE_OF_CONDUCT.md). Then, check out the [contributing guidelines](./.github/CONTRIBUTING.md).