@lugia/scaffolding-admin

> 使用 @lugia/lugia-web, @lugia/lugiax, @lugia/mega-scripts ...


Keywords
lugia, lugia-admin, admin, framework, frontend, react
License
Apache-2.0
Install
npm install @lugia/scaffolding-admin@1.8.1

Documentation

一个基于 React 技术栈的前端脚手架项目,适用于企业级中后台应用

使用 @lugia/lugia-web, @lugia/lugiax, @lugia/mega-scripts ...

在 Lugia Mega Desktop 中使用

内置默认的脚手架项目,在 Mega 中直接使用即可

这些文件由 Mega 动态生成,不允许手动修改

  • config/mega.desktop.config.json
  • config/pages.config.json
  • config/routing.config.js
  • mock/index.js
  • ...

单独使用

# 安装依赖
yarn

# 开发
yarn start  # 访问 http://localhost:8000

# 打包构建
yarn build

# 测试
yarn test

浏览器兼容性

现代浏览器 及 IE10+

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE10+, Edge last 2 versions last 2 versions last 2 versions last 2 versions