Skip to content

Commit 4e108f0

Browse files
committed
chore(project): Uninstall vue 3 migration build
1 parent 6cd5124 commit 4e108f0

File tree

7 files changed

+915
-5603
lines changed

7 files changed

+915
-5603
lines changed

example-e2e/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createApp } from '@vue/compat'
1+
import { createApp } from 'vue'
22
import { createStore } from 'vuex'
33
import App from './App.vue'
44
import storeConfig from './store'

example-e2e/vite.config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,11 @@ import path from 'path'
44

55
export default defineConfig({
66
plugins: [
7-
vue({
8-
template: {
9-
compilerOptions: {
10-
compatConfig: {
11-
MODE: 2,
12-
},
13-
},
14-
},
15-
}),
7+
vue(),
168
],
179
resolve: {
1810
alias: {
1911
'~': path.resolve(__dirname, '../src'),
20-
'vue': '@vue/compat',
2112
},
2213
},
2314
})

example/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createApp } from '@vue/compat'
1+
import { createApp } from 'vue'
22
import Demo from './Demo.vue'
33

44
createApp(Demo).mount('#app')

example/vite.config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,11 @@ import path from 'path'
44

55
export default defineConfig({
66
plugins: [
7-
vue({
8-
template: {
9-
compilerOptions: {
10-
compatConfig: {
11-
MODE: 2,
12-
},
13-
},
14-
},
15-
}),
7+
vue(),
168
],
179
resolve: {
1810
alias: {
1911
'~': path.resolve(__dirname, '../src'),
20-
'vue': '@vue/compat',
2112
},
2213
},
2314
})

0 commit comments

Comments
 (0)