Skip to content

sigerello/vue-tpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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