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
yarn
Create .env.dev
and .env.prod
files and set appropriate environments variables there:
cp .env.example .env.dev
cp .env.example .env.prod
Install dependencies:
yarn install
Run dev-server:
yarn dev
Generate production build:
yarn prod:build
Run websever on production build:
yarn prod:server