/vue-template-babel-compiler-nuxt-project

vue-template-babel-compiler(https://github.com/JuniorTour/vue-template-babel-compiler) DEMO project for nuxt.js

Primary LanguageVue

vue-template-babel-compiler-nuxt-project

DEMO

DEMO

// nuxt.config.js
export default {
  // ...
  // Build Configuration: https://go.nuxtjs.dev/config-build
  build: {
    loaders: {
      vue: {
        compiler: require('vue-template-babel-compiler')
      }
    },
  },
  // ...

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out the documentation.