Code Monkey home page Code Monkey logo

qiankunsonapp's Introduction

guocha

基础技术

启动项目

开发环境

npm run dev # 或者 yarn dev
本地环境默认端口 `3031`, 不采用".env"里面的环境变量,umirc.ts内配置,
其他dev服务配置,如https启用:https://umijs.org/zh-CN/config#devserver

生产环境配置可以在umirc.prod.ts

接入微前端的主应用

umirc.ts -> qiankun ,不启用就删掉就行 src/app.ts 必须要抛出 qiankun的钩子,并不是可选项 ** 本地调试需要在主前端代理webpack的webSocket,代理路径 "/dev-server",指向本项目的host+port,portal-home该主项目不设置代理“ws:true”也可以 **

其他

请参考常见问题

基本目录

.
├── Procfile
├── README.md
├── conf
│   └── config.json
├── guide.md
├── mock
├── package-lock.json
├── package.json
├── scripts
│   └── ci.sh
├── src
│   ├── app.ts
│   ├── components
│   ├── configs
│   │   ├── api.ts
│   │   ├── constants.ts
│   │   ├── layoutSettings.ts
│   │   └── menu.ts
│   ├── global.less
│   ├── layouts
│   ├── lib
│   ├── models
│   ├── pages
│   │   ├── 404.tsx
│   │   ├── document.ejs
│   │   ├── exception
│   │   │   ├── 403.tsx
│   │   │   └── 500.tsx
│   │   ├── index.css
│   │   ├── index.tsx
│   │   └── profile
│   ├── services
│   │   └── auth.ts
│   ├── typings
│   │   ├── Auth.ts
│   │   └── Common.ts
│   ├── typings.d.ts
│   └── utils
├── .umirc.ts
├── .umirc.prod.ts
├── tsconfig.json
└── yarn.lock

qiankunsonapp's People

Watchers

EleLee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.