Skip to content

wanghuipeng/vue-nuxt-ssr

Repository files navigation

pc端

基于vue,nuxt的SSR项目

Build Setup

# install dependencies
$ npm install # Or yarn install

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

# build for test and launch server
$ npm run test
$ npm run generate

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

说明

本demo基本算是正式开发一个基于nuxt服务端渲染的实战项目脚手架,可以放心使用

npm run dev会启动本地开发,地址 localhost:3000
npm run test我在package.json的配置与npm run build一致,打包后上传服务器后即是测试环境
npm run build打包后上传服务器后即是生产环境

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

About

基于vue和nuxt.js的服务端渲染脚手架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published