This is simple but opinionated project template for developing vuejs projects.
This template uses:
First, install yarn package manager.
Then run these commands to generate a project:
yarn global add vue-cli
vue init sigerello/vue-tpl my-project
cd my-project
yarnCreate .env.dev and .env.prod files and set appropriate environments variables there:
cp .env.example .env.dev
cp .env.example .env.prodInstall dependencies:
yarn installRun dev-server:
yarn devGenerate production build:
yarn prod:buildRun websever on production build:
yarn prod:server