One line: npm install && npm install -g @vue/cli && vue upgrade && npx vue-cli-service serve
, or:
- Install dependencies
npm install
- Install Vue CLI
npm install -g @vue/cli
- Upgrade Vue plugins to latest version
vue upgrade
- Actually serve the app
npx vue-cli-service serve
- Navigate to the printed link
- Install dependencies
npm install
- Install Vue CLI
npm install -g @vue/cli
- Upgrade Vue plugins to latest version
vue upgrade
- Open Vue UI
vue ui
- Click 'Import' at the top-right corner
- Navigate to project root
- Hit 'Import this folder'
- Left navigation > Tasks > serve
- Click on 'Run task'
- Wait for project compilation
- Hit 'Open app'
npm install -g json-server
json-server --watch src/assets/database/afspraken.json
The serve and json-server commands are also available as scripts in package.json
.