Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vue.js2.x 服务端渲染脚手架,拿来即用。

NotificationsYou must be signed in to change notification settings

eugeneCN/vue-ssr-template

Repository files navigation

Vue.js2.x 服务端渲染脚手架,拿来即用。

核心模块

Node 版本

node 6.xnode 7.x

本地运行

npm install or yarn installnpm run dev

打包项目

npm install or yarn installnpm run buildnpm start

删除已打包项目

npm run del

项目部署

个人建议生产环境不放源代码,so .. 做了一些打包脚本 npm run build 后生成dist文件夹,将dist文件夹放在我们的生产服务器,安装依赖后通过npm run pm2 来启动项目(确保你已经安装了pm2),了解pm2

npm install or yarn installnpm run pm2

参考资源

vue-hackernews-2.0

About

Vue.js2.x 服务端渲染脚手架,拿来即用。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp