Skip to content

Commit ed7915d

Browse files
committed
version 2.1.0-beta snapshot
1 parent 3170969 commit ed7915d

File tree

80 files changed

+148
-480
lines changed

Some content is hidden

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

80 files changed

+148
-480
lines changed

default/package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@
77
"preview": "vite preview --port 5050"
88
},
99
"dependencies": {
10-
"@vue/composition-api": "^1.4.6",
11-
"vue": "^2.6.14"
10+
"vue": "^2.7.0-0"
1211
},
1312
"devDependencies": {
1413
"@vitejs/plugin-legacy": "^1.7.1",
15-
"@vue/runtime-dom": "^3.2.31",
16-
"unplugin-vue2-script-setup": "^0.9.3",
17-
"vite": "^2.8.4",
18-
"vite-plugin-vue2": "^1.9.3",
19-
"vue-template-babel-compiler": "^1.2.0",
20-
"vue-template-compiler": "^2.6.14"
14+
"@vitejs/plugin-vue2": "^1.1.1",
15+
"vite": "^2.8.4"
2116
}
2217
}

default/src/components/icons/IconTooling.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<template>
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
5-
xmlns:xlink="http://www.w3.org/1999/xlink"
6-
aria-hidden="true"
75
role="img"
86
class="iconify iconify--mdi"
97
width="24"

default/src/main.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import Vue from 'vue'
2-
import VueCompositionAPI, { createApp, h } from '@vue/composition-api'
3-
42
import App from './App.vue'
53

6-
Vue.use(VueCompositionAPI)
7-
8-
const app = createApp({
9-
render: () => h(App)
10-
})
11-
12-
app.mount('#app')
4+
new Vue({
5+
render: (h) => h(App)
6+
}).$mount('#app')

default/vite.config.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,12 @@ import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
44
import legacy from '@vitejs/plugin-legacy'
5-
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
6-
// @ts-ignore
7-
import vueTemplateBabelCompiler from 'vue-template-babel-compiler'
8-
import scriptSetup from 'unplugin-vue2-script-setup/vite'
5+
import vue2 from '@vitejs/plugin-vue2'
96

107
// https://vitejs.dev/config/
118
export default defineConfig({
129
plugins: [
13-
vue2({
14-
jsx: true,
15-
vueTemplateOptions: {
16-
compiler: vueTemplateBabelCompiler
17-
}
18-
}),
19-
scriptSetup(),
10+
vue2(),
2011
legacy({
2112
targets: ['ie >= 11'],
2213
additionalLegacyPolyfills: ['regenerator-runtime/runtime']

pinia-with-tests/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,17 @@
1111
"test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
1212
},
1313
"dependencies": {
14-
"@vue/composition-api": "^1.4.6",
1514
"pinia": "^2.0.11",
16-
"vue": "^2.6.14"
15+
"vue": "^2.7.0-0"
1716
},
1817
"devDependencies": {
1918
"@cypress/vite-dev-server": "^2.2.2",
2019
"@cypress/vue": "^2.2.4",
2120
"@vitejs/plugin-legacy": "^1.7.1",
22-
"@vue/runtime-dom": "^3.2.31",
21+
"@vitejs/plugin-vue2": "^1.1.1",
2322
"cypress": "^9.5.0",
2423
"start-server-and-test": "^1.14.0",
25-
"unplugin-vue2-script-setup": "^0.9.3",
2624
"vite": "^2.8.4",
27-
"vite-plugin-vue2": "^1.9.3",
28-
"vue-template-babel-compiler": "^1.2.0",
29-
"vue-template-compiler": "^2.6.14"
25+
"vue-template-compiler": "^2.7.0-0"
3026
}
3127
}

pinia-with-tests/src/components/icons/IconTooling.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<template>
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
5-
xmlns:xlink="http://www.w3.org/1999/xlink"
6-
aria-hidden="true"
75
role="img"
86
class="iconify iconify--mdi"
97
width="24"

pinia-with-tests/src/main.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
import Vue from 'vue'
2-
import VueCompositionAPI, { createApp, h } from '@vue/composition-api'
32
import { createPinia, PiniaVuePlugin } from 'pinia'
43

54
import App from './App.vue'
65

7-
Vue.use(VueCompositionAPI)
6+
Vue.use(PiniaVuePlugin)
87

9-
const app = createApp({
8+
new Vue({
109
pinia: createPinia(),
11-
render: () => h(App)
12-
})
13-
app.use(PiniaVuePlugin)
14-
15-
app.mount('#app')
10+
render: (h) => h(App)
11+
}).$mount('#app')

pinia-with-tests/vite.config.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,12 @@ import { fileURLToPath } from 'url'
22

33
import { defineConfig } from 'vite'
44
import legacy from '@vitejs/plugin-legacy'
5-
import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
6-
// @ts-ignore
7-
import vueTemplateBabelCompiler from 'vue-template-babel-compiler'
8-
import scriptSetup from 'unplugin-vue2-script-setup/vite'
5+
import vue2 from '@vitejs/plugin-vue2'
96

107
// https://vitejs.dev/config/
118
export default defineConfig({
129
plugins: [
13-
vue2({
14-
jsx: true,
15-
vueTemplateOptions: {
16-
compiler: vueTemplateBabelCompiler
17-
}
18-
}),
19-
scriptSetup(),
10+
vue2(),
2011
legacy({
2112
targets: ['ie >= 11'],
2213
additionalLegacyPolyfills: ['regenerator-runtime/runtime']

pinia/package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@
77
"preview": "vite preview --port 5050"
88
},
99
"dependencies": {
10-
"@vue/composition-api": "^1.4.6",
1110
"pinia": "^2.0.11",
12-
"vue": "^2.6.14"
11+
"vue": "^2.7.0-0"
1312
},
1413
"devDependencies": {
1514
"@vitejs/plugin-legacy": "^1.7.1",
16-
"@vue/runtime-dom": "^3.2.31",
17-
"unplugin-vue2-script-setup": "^0.9.3",
18-
"vite": "^2.8.4",
19-
"vite-plugin-vue2": "^1.9.3",
20-
"vue-template-babel-compiler": "^1.2.0",
21-
"vue-template-compiler": "^2.6.14"
15+
"@vitejs/plugin-vue2": "^1.1.1",
16+
"vite": "^2.8.4"
2217
}
2318
}

pinia/src/components/icons/IconTooling.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<template>
33
<svg
44
xmlns="http://www.w3.org/2000/svg"
5-
xmlns:xlink="http://www.w3.org/1999/xlink"
6-
aria-hidden="true"
75
role="img"
86
class="iconify iconify--mdi"
97
width="24"

0 commit comments

Comments
 (0)