mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-09-28 07:13:21 +08:00
支持部分组件懒加载,但未完成支持
This commit is contained in:
12
src/map/load.js
Normal file
12
src/map/load.js
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* 加载外部代码资源
|
||||
*/
|
||||
import styleData from "../map/style.index.js";
|
||||
import methodData from "../map/method.index.js";
|
||||
import dataData from "../map/data.index.js";
|
||||
import templateData from "../map/template.index.js";
|
||||
|
||||
window.templateSourceMap = templateData;
|
||||
window.dataSourceMap = dataData;
|
||||
window.methodSourceMap = methodData;
|
||||
window.styleSourceMap = styleData;
|
Reference in New Issue
Block a user