/nuxt-cli

vue ssr project,nuxt.js init config

Primary LanguageVue

nuxt-cli

Nuxt.js init config project

  • 目前在做一个金融项目,使用了Nuxt.js作为SSR方案,惊叹于Nuxt.js的实现,也在使用的过程中遇到了一些问题,限于Company Pro无法公开,所以先整理出来一些配置项加在了nuxt-cli上,方便后面其他项目使用,避免再撸一遍基础配置了,拿来就用

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at http://127.0.0.1:7788
$ 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.