Skip to content

Finally I got typescript working with Nuxt-Edge, using vue-cli 3

License

Notifications You must be signed in to change notification settings

pkej/vue-cli-3-nuxt-typescript

This branch is 5 commits behind master.

Folders and files

NameName
Last commit message
Last commit date
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018
Jun 20, 2018

Repository files navigation

Vue Project

VUE CLI 3.0 installation procedure

##
$ vue create app-name
$ cd app-name
$ vue add nuxt-starter-template
$ npm un nuxt
$ npm i nuxt-edge --save
$ npm i nuxt-typescript typescript tslint --save-dev

Follow these instructions for configuring nuxt.config.js. Don't worry about tsconfig.json if you configure vue cli to use typescript it should be configured correctly already.

##
$ npm i mobx-vue --save
$ npm i nuxt-class-component
$ npm i nuxt-property-decorator

Build Setup

# install dependencies
$ npm install # Or yarn install

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

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

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

Learn more

This setup

Using Vue-Cli

Vue Cli Plugin Nuxt Starter Template

Using Nuxt-Edge

mobx-vue

nuxt-property-decorator

nuxt-class-component

TypeScript

TypeScript documentation

Basarat's TypeScript Deep Dive

TypesScript and Vue

This video helped me get rid of TSLint errors when it came to props

General Vue/Nuxt resources

Chris V. Fritz Vue Enterprise Boilerplate

Releases

No releases published

Packages

No packages published