Open fdf-hash opened 1 year ago
"devui-theme": "^0.0.4",
"vue": "^3.3.4",
按照文档,快速开始模块
代码如下:
import { createPinia } from 'pinia' import { createApp,h } from 'vue' import { RouterView } from 'vue-router' import router from 'router' import DevUI from 'vue-devui'; import 'vue-devui/style.css'; import '@devui-design/icons/icomoon/devui-icon.css'; import { ThemeServiceInit, infinityTheme } from 'devui-theme'; ThemeServiceInit({ infinityTheme }, 'infinityTheme'); // 创建app const app = createApp({ render: () => h(RouterView), inheritAttrs: false }) app.use(createPinia()) app.use(router) app.use(DevUI) app.mount('#app')
import { ThemeServiceInit, infinityTheme } from 'devui-theme'; infinityTheme 报错,提示模块“"devui-theme"”没有导出的成员“infinityTheme”。
全是这样
No response
参考
https://github.com/DevCloudFE/ng-devui/issues/321
我这边是angular的包是这样的。 import { ThemeServiceInit } from 'ng-devui/theme'; import { infinityTheme, sweetTheme, provenceTheme, deepTheme, } from 'ng-devui/theme-collection';
import { ThemeServiceInit } from 'ng-devui/theme';
import { infinityTheme, sweetTheme, provenceTheme, deepTheme, } from 'ng-devui/theme-collection';
Version
"devui-theme": "^0.0.4",
Vue Version
"vue": "^3.3.4",
Link to minimal reproduction
按照文档,快速开始模块
Step to reproduce
代码如下:
import { ThemeServiceInit, infinityTheme } from 'devui-theme'; infinityTheme 报错,提示模块“"devui-theme"”没有导出的成员“infinityTheme”。
全是这样
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response