- nodejs (if not installed) Install:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
nvm install node
- Install Node-manager:
git clone https://github.com/CryptoCatOkiOKi/Node-manager.git
cd Node-manager
npm install --save
NODEIP=$(curl -s4 icanhazip.com)
sed -i s/0.0.0.0/${NODEIP}/g nuxt.config.js
npm run dev
# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout Nuxt.js docs.
npm run lint -- --fix