一个logseq插件使用了luckysheet,但是每次加载都需要从网络上下载资源,(而众所周知,🇨🇳网络不行。。)sethyuan/logseq-plugin-luckysheet#5 (comment)
rfbsl7qr1#
自己源码下载下来build后应该就可以了吧,至少目前我没发现有加载什么需要网络的资源
bvpmtnay2#
As far as I know, using a chart would download Vue.js, Vuex, etc. from CDNs. These are not currently bundled.
// Dynamically load dependent scripts and styles const dependScripts = [ 'https://cdn.jsdelivr.net/npm/vue@2.6.11', 'https://unpkg.com/vuex@3.4.0', 'https://cdn.bootcdn.net/ajax/libs/element-ui/2.13.2/index.js', 'https://cdn.bootcdn.net/ajax/libs/echarts/4.8.0/echarts.min.js', 'expendPlugins/chart/chartmix.umd.min.js', // 'http://26.26.26.1:8000/chartmix.umd.js' ] const dependLinks = [ 'https://cdn.bootcdn.net/ajax/libs/element-ui/2.13.2/theme-chalk/index.css', 'expendPlugins/chart/chartmix.css', // 'http://26.26.26.1:8000/chartmix.css' ]
https://github.com/mengshukeji/Luckysheet/blob/v2.1.13/src/expendPlugins/chart/plugin.js#L22
2条答案
按热度按时间rfbsl7qr1#
自己源码下载下来build后应该就可以了吧,至少目前我没发现有加载什么需要网络的资源
bvpmtnay2#
As far as I know, using a chart would download Vue.js, Vuex, etc. from CDNs. These are not currently bundled.
https://github.com/mengshukeji/Luckysheet/blob/v2.1.13/src/expendPlugins/chart/plugin.js#L22