typescript-express-decorators-template

Nuxt template with ExpressJS and Typescript

MIT License

Stars
5

Nuxt TypeScript-Express-Decorators Starter

A Nuxt.js starter project template without the distraction of a complicated development environment.

Installation

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).

Feature

You can define class-like components and use decorators, without lose asyncData function. For more info looks https://github.com/DavidBernal/nuxt-property-decorator

Usage

Development

# serve with hot reloading at localhost:3000
$ npm run dev

Go to http://localhost:3000

Production

# build for production and launch the server
$ npm run build
$ npm start

Generate

# generate a static project
$ npm run generate