@kengic/vue 0.26.6-beta.86 → 0.26.6-beta.87

Sign up to get free protection for your applications and to get access to all the features.
@@ -47183,7 +47183,7 @@ const emptyIcon = {
47183
47183
  ...n.data
47184
47184
  }, r);
47185
47185
  }
47186
- }), version = "0.26.6-beta.86";
47186
+ }), version = "0.26.6-beta.87";
47187
47187
  /**
47188
47188
  * filesize
47189
47189
  *
@@ -22,7 +22,20 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
22
22
 
23
23
  const vitePlugins: (PluginOption | PluginOption[])[] = [
24
24
  // have to
25
- vue(),
25
+ vue({
26
+ template: {
27
+ compilerOptions: {
28
+ // treat all tags with a dash as custom elements
29
+ isCustomElement: (tag) => {
30
+ if (['kg-var-config', 'kg-work-station'].includes(tag)) {
31
+ return true;
32
+ }
33
+
34
+ return false;
35
+ },
36
+ },
37
+ },
38
+ }),
26
39
  // have to
27
40
  vueJsx(),
28
41
  // support name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.6-beta.86",
3
+ "version": "0.26.6-beta.87",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",