We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Umi Max
// pck.json
"dependencies": { "@ant-design/pro-table": "^2.80.4", "@umijs/max": "^4.0.89", "antd": "^4" },
// .umirc.ts
import { defineConfig } from '@umijs/max'; export default defineConfig({ // antd: {}, access: {}, model: {}, initialState: {}, request: {}, // layout: { // title: '@umijs/max', // }, routes: [ { path: '/', redirect: '/home', }, { name: '首页', path: '/home', component: './Home', }, { name: '权限演示', path: '/access', component: './Access', }, ], theme: { 'root-entry-name': 'variable', }, npmClient: 'pnpm', // analyze: { // analyzerPort: 8888, // openAnalyzer: true, // }, });
// home/index
import { EditableProTable } from '@ant-design/pro-table'; import './index.less'; import { Button } from 'antd'; const HomePage: React.FC = () => { return ( <div className="container"> <Button type="primary">123</Button> <EditableProTable /> </div> ); }; export default HomePage;
结果: 生成了超多的var变量
期望: 只想要一个
PS:当我关闭root-entry-name后可以,但是@ant-design/pro-*会覆盖我的var动态主题
The text was updated successfully, but these errors were encountered:
这个库是 umi@3 的插件,去 umi 主仓库提
Sorry, something went wrong.
No branches or pull requests
Umi Max
// pck.json
// .umirc.ts
// home/index
结果:
生成了超多的var变量
期望: 只想要一个
PS:当我关闭root-entry-name后可以,但是@ant-design/pro-*会覆盖我的var动态主题
The text was updated successfully, but these errors were encountered: