2020.scalamatsuri.org Nuxt.js project
Currently this project Node.js version is managed via .node-version
(e.g. nodenv ).
If you use Mac and want to use nodenv,
$ brew install nodenv
$ nodenv init
$ nodenv install x.x.x #please refer to .node-version under this project
$ node -v #check the version is same as .node-verson .
# install dependencies
$ yarn
# serve with hot reload at localhost:3000
$ yarn dev
# If you deploy firebase hosting
npm install -g firesbase
alias firebase="`npm config get prefix`/bin/firebase"
# build for production and launch server
$ yarn run build
$ yarn start
# generate static project
$ yarn run generate
For detailed explanation on how things work, checkout Nuxt.js docs.
nuxt_src/
配下です。