Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d637f1

Browse files
committed
version 3.10.4 snapshot
1 parent 069649e commit 4d637f1

File tree

188 files changed

+10191
-7834
lines changed

Some content is hidden

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

188 files changed

+10191
-7834
lines changed

cypress/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"test:unit:dev": "cypress open --component"
1414
},
1515
"dependencies": {
16-
"vue": "^3.4.21"
16+
"vue": "^3.4.29"
1717
},
1818
"devDependencies": {
19-
"@vitejs/plugin-vue": "^5.0.4",
20-
"cypress": "^13.7.2",
21-
"start-server-and-test": "^2.0.3",
22-
"vite": "^5.2.8"
19+
"@vitejs/plugin-vue": "^5.0.5",
20+
"cypress": "^13.12.0",
21+
"start-server-and-test": "^2.0.4",
22+
"vite": "^5.3.1"
2323
}
2424
}

default/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"vue": "^3.4.21"
12+
"vue": "^3.4.29"
1313
},
1414
"devDependencies": {
15-
"@vitejs/plugin-vue": "^5.0.4",
16-
"vite": "^5.2.8"
15+
"@vitejs/plugin-vue": "^5.0.5",
16+
"vite": "^5.3.1"
1717
}
1818
}

devtools-router-pinia/.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
23+
.idea
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
*.tsbuildinfo
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar"]
3+
}

devtools-router-pinia/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# devtools-router-pinia
2+
3+
This template should help get you started developing with Vue 3 in Vite.
4+
5+
## Recommended IDE Setup
6+
7+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
8+
9+
## Customize configuration
10+
11+
See [Vite Configuration Reference](https://vitejs.dev/config/).
12+
13+
## Project Setup
14+
15+
```sh
16+
pnpm install
17+
```
18+
19+
### Compile and Hot-Reload for Development
20+
21+
```sh
22+
pnpm dev
23+
```
24+
25+
### Compile and Minify for Production
26+
27+
```sh
28+
pnpm build
29+
```

devtools-router-pinia/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="icon" href="/favicon.ico">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Vite App</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.js"></script>
12+
</body>
13+
</html>

devtools-router-pinia/jsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"compilerOptions": {
3+
"paths": {
4+
"@/*": ["./src/*"]
5+
}
6+
},
7+
"exclude": ["node_modules", "dist"]
8+
}

devtools-router-pinia/package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "devtools-router-pinia",
3+
"version": "0.0.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "vite build",
9+
"preview": "vite preview"
10+
},
11+
"dependencies": {
12+
"pinia": "^2.1.7",
13+
"vue": "^3.4.29",
14+
"vue-router": "^4.3.3"
15+
},
16+
"devDependencies": {
17+
"@vitejs/plugin-vue": "^5.0.5",
18+
"vite": "^5.3.1",
19+
"vite-plugin-vue-devtools": "^7.3.1"
20+
}
21+
}
4.19 KB
Binary file not shown.

devtools-router-pinia/src/App.vue

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<script setup>
2+
import { RouterLink, RouterView } from 'vue-router'
3+
import HelloWorld from './components/HelloWorld.vue'
4+
</script>
5+
6+
<template>
7+
<header>
8+
<img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
9+
10+
<div class="wrapper">
11+
<HelloWorld msg="You did it!" />
12+
13+
<nav>
14+
<RouterLink to="/">Home</RouterLink>
15+
<RouterLink to="/about">About</RouterLink>
16+
</nav>
17+
</div>
18+
</header>
19+
20+
<RouterView />
21+
</template>
22+
23+
<style scoped>
24+
header {
25+
line-height: 1.5;
26+
max-height: 100vh;
27+
}
28+
29+
.logo {
30+
display: block;
31+
margin: 0 auto 2rem;
32+
}
33+
34+
nav {
35+
width: 100%;
36+
font-size: 12px;
37+
text-align: center;
38+
margin-top: 2rem;
39+
}
40+
41+
nav a.router-link-exact-active {
42+
color: var(--color-text);
43+
}
44+
45+
nav a.router-link-exact-active:hover {
46+
background-color: transparent;
47+
}
48+
49+
nav a {
50+
display: inline-block;
51+
padding: 0 1rem;
52+
border-left: 1px solid var(--color-border);
53+
}
54+
55+
nav a:first-of-type {
56+
border: 0;
57+
}
58+
59+
@media (min-width: 1024px) {
60+
header {
61+
display: flex;
62+
place-items: center;
63+
padding-right: calc(var(--section-gap) / 2);
64+
}
65+
66+
.logo {
67+
margin: 0 2rem 0 0;
68+
}
69+
70+
header .wrapper {
71+
display: flex;
72+
place-items: flex-start;
73+
flex-wrap: wrap;
74+
}
75+
76+
nav {
77+
text-align: left;
78+
margin-left: -1rem;
79+
font-size: 1rem;
80+
81+
padding: 1rem 0;
82+
margin-top: 1rem;
83+
}
84+
}
85+
</style>

0 commit comments

Comments
 (0)