My stunning Nuxt.js project
After creating a new project from this template you will have to add our components submodule
This command will clone our base components repository
git submodule add git@github.com:youthradio/base-components.git components
# install dependencies
$ npm run install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
Checkout
$ git checkout --orphan gh-pages
$ git reset --hard
$ git commit --allow-empty -m "Init"
$ git checkout master
Make your worktree to your deploy folder
$ rm -rf _site
$ git worktree add _site gh-pages
First time
git clone --single-branch --branch gh-pages git@github.com:youthradio/PROJECTNAME.git
Update
git fetch
git reset --hard FETCH_HEAD
git clean -df