You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
文武 d65aed41e5 test 6 months ago
public init 6 months ago
src init 6 months ago
.dockerignore test 6 months ago
.drone.yml test 6 months ago
.eslintignore init 6 months ago
.eslintrc.js init 6 months ago
.gitignore init 6 months ago
.prettierignore init 6 months ago
.prettierrc.js init 6 months ago
.stylelintrc.js init 6 months ago
.umirc.dev.ts init 6 months ago
.umirc.pre.ts init 6 months ago
.umirc.prod.ts init 6 months ago
.umirc.ts init 6 months ago
.umirc.uat.ts init 6 months ago
Dockerfile test 6 months ago
README.md init 6 months ago
default.conf init 6 months ago
nginxDev.conf test 6 months ago
package.json init 6 months ago
pont-config.json init 6 months ago
pontFetchMethodPath.ts init 6 months ago
pontTemplate.ts init 6 months ago
pontTransfrom.ts init 6 months ago
template.js init 6 months ago
tsconfig.json init 6 months ago
typings.d.ts init 6 months ago
ueditor.json init 6 months ago
yarn.lock init 6 months ago

README.md

芒果活动管理后台

Getting Started

environment \

  • node version v14.17.1
  • yarn version 1.22.10

Install dependencies,

$ yarn

Start the dev server,

$ yarn start

Build 部署

// 生产环境部署

$ yarn build:prod
// 注意事项git监听到package.json变化要先执行 yarn 命令安装依赖

部署注意事项:

  • 部署 html 到非根目录
    配置文件中添加配置:
export default {
  base: '/path/to/your/app/root',
};
  • 静态资源在非根目录或 cdn
    在配置文件中添加配置:
export default {
  publicPath: "http://yourcdn/path/to/static/"
}

代码规范注意事项:

// 使用快速刷新(Fast Refresh)热更新
// 推荐写函数命名组件  例如:
const Foo = () => {};
export default Foo;