Skip to content

Commit 1673711

Browse files
committed
chore: regenerate playground snapshot
1 parent 02a70ce commit 1673711

File tree

156 files changed

+308
-324
lines changed

Some content is hidden

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

156 files changed

+308
-324
lines changed

playground/default/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050"
7+
"preview": "vite preview --port 5050"
98
},
109
"dependencies": {
1110
"vue": "^3.2.22"

playground/default/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
22
import HelloWorld from './components/HelloWorld.vue'
3-
import Welcome from './components/Welcome.vue'
3+
import TheWelcome from './components/TheWelcome.vue'
44
</script>
55

66
<template>
@@ -13,7 +13,7 @@ import Welcome from './components/Welcome.vue'
1313
</header>
1414

1515
<main>
16-
<Welcome />
16+
<TheWelcome />
1717
</main>
1818
</template>
1919

playground/jsx-router-vuex-with-tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ pnpm test:unit # or `pnpm test:unit:ci` for headless testing
3737
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
3838

3939
```sh
40+
pnpm build
4041
pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
4142
```

playground/jsx-router-vuex-with-tests/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050",
7+
"preview": "vite preview --port 5050",
98
"test:unit": "cypress open-ct",
109
"test:unit:ci": "cypress run-ct --quiet --reporter spec",
11-
"test:e2e": "start-server-and-test serve 5050 'cypress open'",
12-
"test:e2e:ci": "start-server-and-test serve 5050 'cypress run'"
10+
"test:e2e": "start-server-and-test preview 5050 'cypress open'",
11+
"test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
1312
},
1413
"dependencies": {
1514
"vue": "^3.2.22",

playground/jsx-router-vuex-with-tests/src/router/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { createRouter, createWebHistory } from 'vue-router'
2-
import Home from '../views/Home.vue'
2+
import HomeView from '../views/HomeView.vue'
33

44
const router = createRouter({
55
history: createWebHistory(import.meta.env.BASE_URL),
66
routes: [
77
{
88
path: '/',
9-
name: 'Home',
10-
component: Home
9+
name: 'home',
10+
component: HomeView
1111
},
1212
{
1313
path: '/about',
14-
name: 'About',
14+
name: 'about',
1515
// route level code-splitting
1616
// this generates a separate chunk (About.[hash].js) for this route
1717
// which is lazy-loaded when the route is visited.
18-
component: () => import('../views/About.vue')
18+
component: () => import('../views/AboutView.vue')
1919
}
2020
]
2121
})
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
2-
import Welcome from '@/components/Welcome.vue'
2+
import TheWelcome from '@/components/TheWelcome.vue'
33
</script>
44

55
<template>
66
<main>
7-
<Welcome />
7+
<TheWelcome />
88
</main>
99
</template>

playground/jsx-router-vuex/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050"
7+
"preview": "vite preview --port 5050"
98
},
109
"dependencies": {
1110
"vue": "^3.2.22",

playground/jsx-router-vuex/src/router/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { createRouter, createWebHistory } from 'vue-router'
2-
import Home from '../views/Home.vue'
2+
import HomeView from '../views/HomeView.vue'
33

44
const router = createRouter({
55
history: createWebHistory(import.meta.env.BASE_URL),
66
routes: [
77
{
88
path: '/',
9-
name: 'Home',
10-
component: Home
9+
name: 'home',
10+
component: HomeView
1111
},
1212
{
1313
path: '/about',
14-
name: 'About',
14+
name: 'about',
1515
// route level code-splitting
1616
// this generates a separate chunk (About.[hash].js) for this route
1717
// which is lazy-loaded when the route is visited.
18-
component: () => import('../views/About.vue')
18+
component: () => import('../views/AboutView.vue')
1919
}
2020
]
2121
})
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
2-
import Welcome from '@/components/Welcome.vue'
2+
import TheWelcome from '@/components/TheWelcome.vue'
33
</script>
44

55
<template>
66
<main>
7-
<Welcome />
7+
<TheWelcome />
88
</main>
99
</template>

playground/jsx-router-with-tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ pnpm test:unit # or `pnpm test:unit:ci` for headless testing
3737
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
3838

3939
```sh
40+
pnpm build
4041
pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
4142
```

playground/jsx-router-with-tests/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050",
7+
"preview": "vite preview --port 5050",
98
"test:unit": "cypress open-ct",
109
"test:unit:ci": "cypress run-ct --quiet --reporter spec",
11-
"test:e2e": "start-server-and-test serve 5050 'cypress open'",
12-
"test:e2e:ci": "start-server-and-test serve 5050 'cypress run'"
10+
"test:e2e": "start-server-and-test preview 5050 'cypress open'",
11+
"test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
1312
},
1413
"dependencies": {
1514
"vue": "^3.2.22",

playground/jsx-router-with-tests/src/router/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { createRouter, createWebHistory } from 'vue-router'
2-
import Home from '../views/Home.vue'
2+
import HomeView from '../views/HomeView.vue'
33

44
const router = createRouter({
55
history: createWebHistory(import.meta.env.BASE_URL),
66
routes: [
77
{
88
path: '/',
9-
name: 'Home',
10-
component: Home
9+
name: 'home',
10+
component: HomeView
1111
},
1212
{
1313
path: '/about',
14-
name: 'About',
14+
name: 'about',
1515
// route level code-splitting
1616
// this generates a separate chunk (About.[hash].js) for this route
1717
// which is lazy-loaded when the route is visited.
18-
component: () => import('../views/About.vue')
18+
component: () => import('../views/AboutView.vue')
1919
}
2020
]
2121
})
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
2-
import Welcome from '@/components/Welcome.vue'
2+
import TheWelcome from '@/components/TheWelcome.vue'
33
</script>
44

55
<template>
66
<main>
7-
<Welcome />
7+
<TheWelcome />
88
</main>
99
</template>

playground/jsx-router/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050"
7+
"preview": "vite preview --port 5050"
98
},
109
"dependencies": {
1110
"vue": "^3.2.22",

playground/jsx-router/src/router/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { createRouter, createWebHistory } from 'vue-router'
2-
import Home from '../views/Home.vue'
2+
import HomeView from '../views/HomeView.vue'
33

44
const router = createRouter({
55
history: createWebHistory(import.meta.env.BASE_URL),
66
routes: [
77
{
88
path: '/',
9-
name: 'Home',
10-
component: Home
9+
name: 'home',
10+
component: HomeView
1111
},
1212
{
1313
path: '/about',
14-
name: 'About',
14+
name: 'about',
1515
// route level code-splitting
1616
// this generates a separate chunk (About.[hash].js) for this route
1717
// which is lazy-loaded when the route is visited.
18-
component: () => import('../views/About.vue')
18+
component: () => import('../views/AboutView.vue')
1919
}
2020
]
2121
})
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
2-
import Welcome from '@/components/Welcome.vue'
2+
import TheWelcome from '@/components/TheWelcome.vue'
33
</script>
44

55
<template>
66
<main>
7-
<Welcome />
7+
<TheWelcome />
88
</main>
99
</template>

playground/jsx-vuex-with-tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ pnpm test:unit # or `pnpm test:unit:ci` for headless testing
3737
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
3838

3939
```sh
40+
pnpm build
4041
pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
4142
```

playground/jsx-vuex-with-tests/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050",
7+
"preview": "vite preview --port 5050",
98
"test:unit": "cypress open-ct",
109
"test:unit:ci": "cypress run-ct --quiet --reporter spec",
11-
"test:e2e": "start-server-and-test serve 5050 'cypress open'",
12-
"test:e2e:ci": "start-server-and-test serve 5050 'cypress run'"
10+
"test:e2e": "start-server-and-test preview 5050 'cypress open'",
11+
"test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
1312
},
1413
"dependencies": {
1514
"vue": "^3.2.22",

playground/jsx-vuex-with-tests/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
22
import HelloWorld from './components/HelloWorld.vue'
3-
import Welcome from './components/Welcome.vue'
3+
import TheWelcome from './components/TheWelcome.vue'
44
</script>
55

66
<template>
@@ -13,7 +13,7 @@ import Welcome from './components/Welcome.vue'
1313
</header>
1414

1515
<main>
16-
<Welcome />
16+
<TheWelcome />
1717
</main>
1818
</template>
1919

playground/jsx-vuex/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050"
7+
"preview": "vite preview --port 5050"
98
},
109
"dependencies": {
1110
"vue": "^3.2.22",

playground/jsx-vuex/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
22
import HelloWorld from './components/HelloWorld.vue'
3-
import Welcome from './components/Welcome.vue'
3+
import TheWelcome from './components/TheWelcome.vue'
44
</script>
55

66
<template>
@@ -13,7 +13,7 @@ import Welcome from './components/Welcome.vue'
1313
</header>
1414

1515
<main>
16-
<Welcome />
16+
<TheWelcome />
1717
</main>
1818
</template>
1919

playground/jsx-with-tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ pnpm test:unit # or `pnpm test:unit:ci` for headless testing
3737
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
3838

3939
```sh
40+
pnpm build
4041
pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
4142
```

playground/jsx-with-tests/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050",
7+
"preview": "vite preview --port 5050",
98
"test:unit": "cypress open-ct",
109
"test:unit:ci": "cypress run-ct --quiet --reporter spec",
11-
"test:e2e": "start-server-and-test serve 5050 'cypress open'",
12-
"test:e2e:ci": "start-server-and-test serve 5050 'cypress run'"
10+
"test:e2e": "start-server-and-test preview 5050 'cypress open'",
11+
"test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
1312
},
1413
"dependencies": {
1514
"vue": "^3.2.22"

playground/jsx-with-tests/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
22
import HelloWorld from './components/HelloWorld.vue'
3-
import Welcome from './components/Welcome.vue'
3+
import TheWelcome from './components/TheWelcome.vue'
44
</script>
55

66
<template>
@@ -13,7 +13,7 @@ import Welcome from './components/Welcome.vue'
1313
</header>
1414

1515
<main>
16-
<Welcome />
16+
<TheWelcome />
1717
</main>
1818
</template>
1919

playground/jsx/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"scripts": {
55
"dev": "vite",
66
"build": "vite build",
7-
"preserve": "vite build",
8-
"serve": "vite preview --port 5050"
7+
"preview": "vite preview --port 5050"
98
},
109
"dependencies": {
1110
"vue": "^3.2.22"

playground/jsx/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup>
22
import HelloWorld from './components/HelloWorld.vue'
3-
import Welcome from './components/Welcome.vue'
3+
import TheWelcome from './components/TheWelcome.vue'
44
</script>
55

66
<template>
@@ -13,7 +13,7 @@ import Welcome from './components/Welcome.vue'
1313
</header>
1414

1515
<main>
16-
<Welcome />
16+
<TheWelcome />
1717
</main>
1818
</template>
1919

playground/router-vuex-with-tests/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ pnpm test:unit # or `pnpm test:unit:ci` for headless testing
3737
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
3838

3939
```sh
40+
pnpm build
4041
pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
4142
```

0 commit comments

Comments
 (0)