mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: iconify图标新增离线功能
This commit is contained in:
+9
-2
@@ -25,7 +25,7 @@ export default defineConfig({
|
||||
},
|
||||
{
|
||||
find: 'vue-i18n',
|
||||
replacement: 'vue-i18n/dist/vue-i18n.cjs.js', //解决i8n警告
|
||||
replacement: 'vue-i18n/dist/vue-i18n.cjs.js' //解决i8n警告
|
||||
}
|
||||
],
|
||||
dedupe: ['vue']
|
||||
@@ -40,7 +40,14 @@ export default defineConfig({
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
vue({
|
||||
template: {
|
||||
compilerOptions: {
|
||||
// 排除 iconify 图标影子组件编译报错
|
||||
isCustomElement: tag => tag.startsWith('iconify-icon')
|
||||
}
|
||||
}
|
||||
}),
|
||||
monacoEditorPlugin({
|
||||
languageWorkers: ['editorWorkerService', 'typescript', 'json', 'html']
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user