Nuxt template with ExpressJS and Typescript
MIT License
A Nuxt.js starter project template without the distraction of a complicated development environment.
This is a project template for vue-cli.
$ vue init davidbernal/typescript-express-decorators-template my-project
$ cd my-project
# install dependencies
$ npm install # Or yarn install
Make sure to use a version of vue-cli >= 2.1 (
vue -V
).
You can define class-like components and use decorators, without lose asyncData
function.
For more info looks https://github.com/DavidBernal/nuxt-property-decorator
# serve with hot reloading at localhost:3000
$ npm run dev
Go to http://localhost:3000
# build for production and launch the server
$ npm run build
$ npm start
# generate a static project
$ npm run generate