File tree 8 files changed +380
-210
lines changed
8 files changed +380
-210
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 " />
5
5
< link rel ="icon " href ="/favicon.ico " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < title > Vite App </ title >
7
+ < title > vue-dark-switch </ title >
8
8
</ head >
9
9
< body >
10
10
< div id ="app "> </ div >
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ import WorkspacePremiumTwotone from '@vicons/material/es/WorkspacePremiumTwotone
8
8
9
9
<template >
10
10
<div class =" w-screen h-20vh" >
11
- <n-space align =" center" size =" large" justify =" center" class =" mt-20" >
11
+ <NSpace align =" center" size =" large" justify =" center" class =" mt-20" >
12
12
<Switch />
13
13
<SwitchIcon />
14
- </n-space >
14
+ </NSpace >
15
15
</div >
16
16
17
17
<div class =" w-screen h-20vh" >
18
- <n-space align =" center" size =" large" justify =" center" class =" mt-20" >
18
+ <NSpace align =" center" size =" large" justify =" center" class =" mt-20" >
19
19
<Switch darkBackground =" #fff" lightBackground =" #2D2D2D" >
20
20
<template #dark >
21
21
<WorkspacePremiumOutlined />
@@ -32,6 +32,6 @@ import WorkspacePremiumTwotone from '@vicons/material/es/WorkspacePremiumTwotone
32
32
<WorkspacePremiumTwotone />
33
33
</template >
34
34
</SwitchIcon >
35
- </n-space >
35
+ </NSpace >
36
36
</div >
37
37
</template >
Original file line number Diff line number Diff line change 7
7
name ="viewport "
8
8
content ="width=device-width, initial-scale=1.0 "
9
9
/>
10
- < title > dark-switch</ title >
10
+ < title > vue- dark-switch</ title >
11
11
</ head >
12
12
< body >
13
13
< div id ="app "> </ div >
Original file line number Diff line number Diff line change 33
33
"node" : " >=16" ,
34
34
"pnpm" : " >=7.0.0"
35
35
},
36
- "packageManager" : " pnpm@7.0 .0" ,
36
+ "packageManager" : " pnpm@8.2 .0" ,
37
37
"scripts" : {
38
38
"dev" : " vite" ,
39
39
"build-js" : " vite build" ,
63
63
"url" : " https://github.com/markthree"
64
64
},
65
65
"devDependencies" : {
66
- "@iconify-json/line-md" : " ^1.1.23 " ,
66
+ "@iconify-json/line-md" : " ^1.1.24 " ,
67
67
"@types/node" : " ^18.15.11" ,
68
68
"@vicons/material" : " ^0.12.0" ,
69
69
"@vitejs/plugin-vue" : " ^4.1.0" ,
70
70
"@vueuse/core" : " ^9.13.0" ,
71
- "bumpp" : " ^9.0 .0" ,
71
+ "bumpp" : " ^9.1 .0" ,
72
72
"fast-cpy" : " ^0.0.8" ,
73
73
"naive-ui" : " ^2.34.3" ,
74
74
"npm-run-all" : " ^4.1.5" ,
75
- "rimraf" : " ^4.4.1 " ,
76
- "turbo" : " ^1.8.6 " ,
77
- "typescript" : " ^5.0.2 " ,
78
- "unocss" : " ^0.50.6 " ,
79
- "vite" : " ^4.3.0-beta.1 " ,
80
- "vite-layers" : " ^0.3.1 " ,
81
- "vite-plugin-warmup" : " ^0.0.2 " ,
75
+ "rimraf" : " ^5.0.0 " ,
76
+ "turbo" : " ^1.9.1 " ,
77
+ "typescript" : " ^5.0.4 " ,
78
+ "unocss" : " ^0.51.4 " ,
79
+ "vite" : " ^4.3.0-beta.5 " ,
80
+ "vite-layers" : " ^0.3.4 " ,
81
+ "vite-plugin-warmup" : " ^0.0.3 " ,
82
82
"vue" : " ^3.2.47" ,
83
83
"vue-tsc" : " ^1.2.0"
84
84
},
You can’t perform that action at this time.
0 commit comments