1
- const { description } = require ( " ../../package" ) ;
2
- const WindiCSS = require ( " vite-plugin-windicss" ) . default ;
3
- const { resolve } = require ( " path" ) ;
1
+ const { description } = require ( ' ../../package' )
2
+ const WindiCSS = require ( ' vite-plugin-windicss' ) . default
3
+ const { resolve } = require ( ' path' )
4
4
5
5
module . exports = {
6
6
// dev server port
7
7
port : 8082 ,
8
8
9
9
// site config
10
- lang : " en-US" ,
11
- title : " Vue Number Format" ,
10
+ lang : ' en-US' ,
11
+ title : ' Vue Number Format' ,
12
12
description : description ,
13
13
head : [
14
- [ " meta" , { name : " theme-color" , content : " #3eaf7c" } ] ,
15
- [ " meta" , { name : " apple-mobile-web-app-capable" , content : " yes" } ] ,
14
+ [ ' meta' , { name : ' theme-color' , content : ' #3eaf7c' } ] ,
15
+ [ ' meta' , { name : ' apple-mobile-web-app-capable' , content : ' yes' } ] ,
16
16
[
17
- " meta" ,
18
- { name : " apple-mobile-web-app-status-bar-style" , content : " black" } ,
17
+ ' meta' ,
18
+ { name : ' apple-mobile-web-app-status-bar-style' , content : ' black' } ,
19
19
] ,
20
20
[
21
- " meta" ,
21
+ ' meta' ,
22
22
{
23
- name : " google-site-verification" ,
24
- content : " Tf6UVeu-ZmZtGqB5tdcYymZ79101gyGKcpzqwWhDb1U" ,
23
+ name : ' google-site-verification' ,
24
+ content : ' Tf6UVeu-ZmZtGqB5tdcYymZ79101gyGKcpzqwWhDb1U' ,
25
25
} ,
26
26
] ,
27
27
] ,
@@ -33,39 +33,39 @@ module.exports = {
33
33
WindiCSS ( {
34
34
preflight : false ,
35
35
scan : {
36
- include : [ resolve ( __dirname , " ./**/*.{vue,html,md}" ) ] ,
37
- exclude : [ " node_modules/**/*" , " .git/**/*" ] ,
36
+ include : [ resolve ( __dirname , ' ./**/*.{vue,html,md}' ) ] ,
37
+ exclude : [ ' node_modules/**/*' , ' .git/**/*' ] ,
38
38
} ,
39
39
theme : {
40
40
extend : {
41
41
colors : {
42
- primary : " #3eaf7c" ,
42
+ primary : ' #3eaf7c' ,
43
43
} ,
44
44
} ,
45
45
} ,
46
- plugins : [ require ( " windicss/plugin/forms" ) ] ,
46
+ plugins : [ require ( ' windicss/plugin/forms' ) ] ,
47
47
} ) ,
48
48
] ,
49
49
} ,
50
50
} ,
51
51
52
52
// theme and its config
53
- theme : " @vuepress/theme-default" ,
53
+ theme : ' @vuepress/theme-default' ,
54
54
themeConfig : {
55
- logo : " /favicon.png" ,
55
+ logo : ' /favicon.png' ,
56
56
editLinks : false ,
57
- repo : " coders-tm/vue-number-format" ,
57
+ repo : ' coders-tm/vue-number-format' ,
58
58
lastUpdated : true ,
59
59
sidebar : {
60
- " /guide/" : [
60
+ ' /guide/' : [
61
61
{
62
- title : " Guide" ,
62
+ title : ' Guide' ,
63
63
collapsable : false ,
64
64
children : [
65
- " /guide/README.md" ,
66
- " /guide/config.md" ,
67
- " /guide/example .md" ,
68
- " /guide/play-ground.md" ,
65
+ ' /guide/README.md' ,
66
+ ' /guide/config.md' ,
67
+ ' /guide/demo .md' ,
68
+ ' /guide/play-ground.md' ,
69
69
] ,
70
70
} ,
71
71
] ,
@@ -74,26 +74,26 @@ module.exports = {
74
74
darkMode : false ,
75
75
plugins : [
76
76
[
77
- " @vuepress/plugin-search" ,
77
+ ' @vuepress/plugin-search' ,
78
78
{
79
79
locales : {
80
- "/" : {
81
- placeholder : " Search" ,
80
+ '/' : {
81
+ placeholder : ' Search' ,
82
82
} ,
83
83
} ,
84
84
} ,
85
85
] ,
86
86
[
87
- " @vuepress/register-components" ,
87
+ ' @vuepress/register-components' ,
88
88
{
89
- componentsDir : resolve ( __dirname , " ./components" ) ,
89
+ componentsDir : resolve ( __dirname , ' ./components' ) ,
90
90
} ,
91
91
] ,
92
92
[
93
- " @vuepress/plugin-google-analytics" ,
93
+ ' @vuepress/plugin-google-analytics' ,
94
94
{
95
- id : " UA-76508942-4" ,
95
+ id : ' UA-76508942-4' ,
96
96
} ,
97
97
] ,
98
98
] ,
99
- } ;
99
+ }
0 commit comments