.. | ||
assets | ||
common | ||
components | ||
layouts | ||
middleware | ||
pages | ||
plugins | ||
static | ||
store | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc | ||
app.html | ||
Dockerfile | ||
jsconfig.json | ||
nuxt.config.example.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
start.sh |
介绍
本项目使用nuxt.js进行构建,利用服务端渲染技术构建前端界面。
Build Setup
# install dependencies --registry=https://registry.npm.taobao.org
$ npm install
# edit configurations
$ cp nuxt.config.example.js nuxt.config.js
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout Nuxt.js docs.