Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 966 Bytes

README.md

File metadata and controls

56 lines (39 loc) · 966 Bytes

vue-tpl

This is simple but opinionated project template for developing vuejs projects.

This template uses:

How to use

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