一个由 Nuxt.js 框架开发的,基于SSR服务端渲染的个人博客系统项目,目前是1.0版本,主要是博客展示和个人中心,持续开发中...。
如果你喜欢这个项目或者它帮助你, 请给 Star~(辛苦星咯)
git clone /~https://github.com/anjoy8/Blog.Vue.Nuxt.git
# install dependencies
$ npm 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
可以在根目录的 package.json 中修改端口:
"config": {
"nuxt": {
"host": "127.0.0.1",
"port": "26898"
}
},
For detailed explanation on how things work, checkout Nuxt.js docs.
博客园:https://www.cnblogs.com/laozhang-is-phi/p/9682289.html