diff --git a/packages/components/button-group/index.ts b/packages/components/button-group/index.ts index 98970050..d3934a74 100644 --- a/packages/components/button-group/index.ts +++ b/packages/components/button-group/index.ts @@ -2,10 +2,9 @@ import { defineCustomElement } from 'vue' import { withInstall } from '@puik/utils' import ButtonGroup from './src/button-group.vue' -import ButtonGroupCe from './src/button-group.ce.vue' export const PuikButtonGroup = withInstall(ButtonGroup) -export const PuikButtonGroupCe = defineCustomElement(withInstall(ButtonGroupCe)) +export const PuikButtonGroupCe = defineCustomElement(PuikButtonGroup) if (!customElements.get('puik-button-group-ce')) { customElements.define('puik-button-group-ce', PuikButtonGroupCe) diff --git a/packages/components/button-group/src/button-group.ce.vue b/packages/components/button-group/src/button-group.ce.vue deleted file mode 100644 index 352f76a2..00000000 --- a/packages/components/button-group/src/button-group.ce.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/packages/components/button/index.ts b/packages/components/button/index.ts index 7c9aa3a8..985da8ba 100644 --- a/packages/components/button/index.ts +++ b/packages/components/button/index.ts @@ -2,10 +2,9 @@ import { defineCustomElement } from 'vue' import { withInstall } from '@puik/utils' import Button from './src/button.vue' -import ButtonCe from './src/button.ce.vue' export const PuikButton = withInstall(Button) -export const PuikButtonCe = defineCustomElement(withInstall(ButtonCe)) +export const PuikButtonCe = defineCustomElement(PuikButton) if (!customElements.get('puik-button-ce')) { customElements.define('puik-button-ce', PuikButtonCe) diff --git a/packages/components/button/src/button.ce.vue b/packages/components/button/src/button.ce.vue deleted file mode 100644 index 32be5c7a..00000000 --- a/packages/components/button/src/button.ce.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/packages/components/icon/index.ts b/packages/components/icon/index.ts index 073d3484..0a5c6332 100644 --- a/packages/components/icon/index.ts +++ b/packages/components/icon/index.ts @@ -2,10 +2,9 @@ import { defineCustomElement } from 'vue' import { withInstall } from '@puik/utils' import Icon from './src/icon.vue' -import IconCe from './src/icon.ce.vue' export const PuikIcon = withInstall(Icon) -export const PuikIconCe = defineCustomElement(withInstall(IconCe)) +export const PuikIconCe = defineCustomElement(PuikIcon) if (!customElements.get('puik-icon-ce')) { customElements.define('puik-icon-ce', PuikIconCe) diff --git a/packages/components/icon/src/icon.ce.vue b/packages/components/icon/src/icon.ce.vue deleted file mode 100644 index 439a385a..00000000 --- a/packages/components/icon/src/icon.ce.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - - diff --git a/packages/components/input/index.ts b/packages/components/input/index.ts index 1f47e5d5..73bef73f 100644 --- a/packages/components/input/index.ts +++ b/packages/components/input/index.ts @@ -2,10 +2,9 @@ import { defineCustomElement } from 'vue' import { withInstall } from '@puik/utils' import Input from './src/input.vue' -import InputCe from './src/input.ce.vue' export const PuikInput = withInstall(Input) -export const PuikInputCe = defineCustomElement(withInstall(InputCe)) +export const PuikInputCe = defineCustomElement(PuikInput) if (!customElements.get('puik-input-ce')) { customElements.define('puik-input-ce', PuikInputCe) diff --git a/packages/components/input/src/input.ce.vue b/packages/components/input/src/input.ce.vue deleted file mode 100644 index b1933c46..00000000 --- a/packages/components/input/src/input.ce.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - - diff --git a/packages/components/input/src/input.vue b/packages/components/input/src/input.vue index 4cdbb637..24533cdb 100644 --- a/packages/components/input/src/input.vue +++ b/packages/components/input/src/input.vue @@ -1,7 +1,7 @@ - - - - diff --git a/playground/vite.config.ts b/playground/vite.config.ts index 13372824..a01e7f1b 100644 --- a/playground/vite.config.ts +++ b/playground/vite.config.ts @@ -13,7 +13,7 @@ export default defineConfig({ isCustomElement: (tag) => tag.includes('-ce'), }, }, - customElement: /\.ce\.vue$/, + customElement: /^(?!.*App\.vue).*$/, }), DefineOptions(), ],