Name Last Update
build Loading commit data...
mock Loading commit data...
plop-templates Loading commit data...
public Loading commit data...
src Loading commit data...
tests Loading commit data...
.editorconfig Loading commit data...
.env.development Loading commit data...
.env.production Loading commit data...
.env.staging Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README-zh.md Loading commit data...
README.es.md Loading commit data...
README.ja.md Loading commit data...
README.md Loading commit data...
README.zh-CN.md Loading commit data...
babel.config.js Loading commit data...
jest.config.js Loading commit data...
jsconfig.json Loading commit data...
package.json Loading commit data...
plopfile.js Loading commit data...
postcss.config.js Loading commit data...
vue.config.js Loading commit data...

README-zh.md

相关项目

写了一个系列的教程配套文章,如何从零构建后一个完整的后台项目:

Build Setup



# 进入项目目录
cd gulu-admin

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

浏览器访问 http://localhost:9528

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod

其它

# 预览发布环境效果
npm run preview

# 预览发布环境效果 + 静态资源分析
npm run preview -- --report

# 代码格式检查
npm run lint

# 代码格式检查并自动修复
npm run lint -- --fix

更多信息请参考 使用文档

Demo

demo