Skip to content

Commit 8b92289

Browse files
committed
feat!: drop Vue 2 support, drop element-ui resolver
1 parent 1550560 commit 8b92289

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2069
-9698
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ On-demand components auto importing for Vue.
66

77
###### Features
88

9-
- πŸ’š Supports both Vue 2 and Vue 3 out-of-the-box.
9+
- πŸ’š Supports Vue 3 out-of-the-box.
1010
- ✨ Supports both components and directives.
1111
- ⚑️ Supports Vite, Webpack, Rspack, Vue CLI, Rollup, esbuild and more, powered by <a href="https://github.com/unjs/unplugin">unplugin</a>.
1212
- 🏝 Tree-shakable, only registers the components you use.
@@ -443,9 +443,6 @@ Components({
443443
globalNamespaces: [],
444444

445445
// auto import for directives
446-
// default: `true` for Vue 3, `false` for Vue 2
447-
// Babel is needed to do the transformation for Vue 2, it's disabled by default for performance concerns.
448-
// To install Babel, run: `npm install -D @babel/parser`
449446
directives: true,
450447

451448
// Transform path before resolving

β€Žexamples/vite-vue2/index.htmlβ€Ž

Lines changed: 0 additions & 12 deletions
This file was deleted.

β€Žexamples/vite-vue2/package.jsonβ€Ž

Lines changed: 0 additions & 18 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/App.vueβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/components/ComponentA.vueβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/components/ComponentB.vueβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/components/ComponentD.vueβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/components/component-c.vueβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/index.cssβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.

β€Žexamples/vite-vue2/src/main.tsβ€Ž

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
Β (0)