Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.11 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.11 KB

Events App

EventsUiApp

Development

Build

# install dependencies
$ npm install --only=production

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start
$ npm run start-win #on windows

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout Nuxt.js docs.

Checkin dependencies for container

To ensure repetitive builds the container will use the values from package-lock.json and not from package.json

npm install --only=production
git add package-lock.json
git commit -m "new versions"
git push

Installing new dependencies for production

npm install --only=production [email protected] --save

Others

#to upgrade dependencies
npm install -g npm-upgrade
npm-upgrade.cmd

#to list why a dependency is added
npm ls fsevents

Create a nuxt app from start

As described at https://nuxtjs.org/guide/installation

scoop install nodejs
# eventually restart cmder
npx create-nuxt-app <project-name>
npm run dev