vuejs-typescript-template
Template to start a new project with Vuejs and Typescript
This project aims at kickstarting projects at University Laval but could also help others. Feel free to try it out and send us some feedback.
Getting started
- Install Git
- Install Node
- Update npm
- Clone this project
- Change the name and version in package.json
- Run npm install
- Run npm run dev
Editor
Visual Studio Code is the recommanded editor.
The following extensions are recommanded:
Supported commands
npm run clean
Deletes all generated files.
npm run dev
Runs the application development mode.
npm run build
Builds the application for production. All files are put in the 'dist' folder.
npm run prod
Runs the application from the 'dist' folder. The build needs to be done before.
npm run unit
Runs unit tests using PhantomJS with Karma + Jasmine.
npm run unitall
Runs unit tests using PhantomJS, Chrome and Firefox with Karma + Jasmine.
npm run e2e
Runs End-to-end tests using Nightwatch and Selenium.
npm run test
Runs all unit and e2e tests.
nom run tslint
Runs the Typescript linter using TSLint.