Skip to content

Nuxt-Edge, using @vue/cli ~3 & TypeScript experimentation sandbox

License

Notifications You must be signed in to change notification settings

renoirb/experiments-nuxt-typescript-201809

 
 

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

About

Nuxt-Edge, using @vue/cli ~3 & TypeScript experimentation sandbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 62.8%
  • TypeScript 18.5%
  • JavaScript 15.1%
  • HTML 3.6%