fix: 优化jetlinks-ui-components按需引入插件

This commit is contained in:
XieYongHong 2023-08-24 10:10:02 +08:00
parent 6274b1f01d
commit 72e5e43c73
2 changed files with 5 additions and 1 deletions

View File

@ -228,6 +228,10 @@ const matchComponents: IMatcher[] = [
pattern: /^CheckButton/, pattern: /^CheckButton/,
styleDir: 'CheckButton' styleDir: 'CheckButton'
}, },
{
pattern: /^ColorPicker/,
styleDir: 'ColorPicker'
},
] ]
export interface JetlinksVueResolverOptions { export interface JetlinksVueResolverOptions {

View File

@ -96,7 +96,7 @@ export default defineConfig(({ mode}) => {
// target: 'http://192.168.32.244:8881', // target: 'http://192.168.32.244:8881',
// target: 'http://192.168.32.163:8844', //张季本地 // target: 'http://192.168.32.163:8844', //张季本地
// target: 'http://120.77.179.54:8844', // 120测试 // target: 'http://120.77.179.54:8844', // 120测试
target: 'http://192.168.33.46:8844', // 本地开发环境 target: 'http://192.168.32.5:8844', // 本地开发环境
ws: 'ws://192.168.33.46:8844', ws: 'ws://192.168.33.46:8844',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '') rewrite: (path) => path.replace(/^\/api/, '')