A Vue.js with typescript started project
{
"@types/node": "^9.6.5",
"axios": "^0.18.0",
"element-ui": "^2.0.7",
"typescript": "^2.6.2",
"vue": "^2.5.2",
"vue-class-component": "^6.1.2",
"vue-property-decorator": "^6.0.0",
"vue-router": "^3.0.1",
"vuex": "^3.0.1",
"vuex-class": "^0.3.0",
"ts-loader": "^3.2.0",
"pug": "^2.0.3",
"pug-cli": "^1.0.0-alpha6",
"pug-filters": "^3.1.0",
"pug-loader": "^2.4.0"
}
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.