1- import { defineConfig } from 'vitepress'
1+ import { defineConfig } from 'vitepress' ;
22
33export default defineConfig ( {
4- title : " VueJS Tour" ,
5- description : " Guide your users through your application quickly and easily." ,
4+ title : ' VueJS Tour' ,
5+ description : ' Guide your users through your application quickly and easily.' ,
66 lang : 'en-US' ,
77 base : '/vuejs-tour/' ,
88 themeConfig : {
99 logo : 'https://vuejs.org/images/logo.png' ,
1010 nav : [
1111 { text : 'Guide' , link : '/guide/what-is-vuejs-tour' } ,
12- { text : '2.1.1' , items : [
13- { text : 'Changelog' , link : 'https://github.com/GlobalHive/vuejs-tour/blob/master/CHANGELOG.md' } ,
14- { text : 'Roadmap' , link : '/guide/roadmap' } ,
15- { text : 'Issues' , link : 'https://github.com/GlobalHive/vuejs-tour/issues' } ]
16- }
12+ {
13+ text : '2.1.1' ,
14+ items : [
15+ {
16+ text : 'Changelog' ,
17+ link : 'https://github.com/GlobalHive/vuejs-tour/blob/master/CHANGELOG.md' ,
18+ } ,
19+ { text : 'Roadmap' , link : '/guide/roadmap' } ,
20+ {
21+ text : 'Issues' ,
22+ link : 'https://github.com/GlobalHive/vuejs-tour/issues' ,
23+ } ,
24+ ] ,
25+ } ,
1726 ] ,
1827 sidebar : {
1928 '/guide/' : [
2029 {
2130 text : 'Introduction' ,
2231 collapsed : false ,
2332 items : [
24- { text : 'What is VueJS Tour?' , link : '/guide/what-is-vuejs-tour' } ,
25- { text : 'Getting Started' , link : '/guide/getting-started' } ,
26- { text : 'Create a Tour' , link : '/guide/create-a-tour' } ,
27- ]
33+ { text : 'What is VueJS Tour?' , link : '/guide/what-is-vuejs-tour' } ,
34+ { text : 'Getting Started' , link : '/guide/getting-started' } ,
35+ { text : 'Create a Tour' , link : '/guide/create-a-tour' } ,
36+ ] ,
2837 } ,
2938 {
3039 text : 'Customization' ,
3140 collapsed : false ,
3241 items : [
33- { text : 'VTour Component' , items :[
42+ {
43+ text : 'VTour Component' ,
44+ items : [
3445 { text : 'Start Options' , link : '/guide/start-options' } ,
3546 { text : 'Highlight Target' , link : '/guide/highlight-target' } ,
3647 { text : 'Using a Backdrop' , link : '/guide/using-a-backdrop' } ,
3748 { text : 'Hiding the Arrow' , link : '/guide/hiding-the-arrow' } ,
3849 { text : 'Tour Margin' , link : '/guide/tour-margin' } ,
3950 { text : 'Saving Progress' , link : '/guide/saving-progress' } ,
4051 { text : 'Scroll to Element' , link : '/guide/scroll-to-element' } ,
41- ] } ,
42- { text : 'Step Options' , items :[
52+ ] ,
53+ } ,
54+ {
55+ text : 'Step Options' ,
56+ items : [
4357 { text : 'The Step Type' , link : '/guide/the-step-type' } ,
4458 { text : 'Setting a Target' , link : '/guide/setting-a-target' } ,
45- { text : 'Define the Content' , link : '/guide/define-the-content' } ,
59+ {
60+ text : 'Define the Content' ,
61+ link : '/guide/define-the-content' ,
62+ } ,
4663 { text : 'Using Placement' , link : '/guide/using-placement' } ,
47- { text : 'The onBefore Event' , link : '/guide/the-onbefore-event' } ,
64+ {
65+ text : 'The onBefore Event' ,
66+ link : '/guide/the-onbefore-event' ,
67+ } ,
4868 { text : 'The onAfter Event' , link : '/guide/the-onafter-event' } ,
49- { text : 'Highlight Target' , link : '/guide/step-highlight-target' } ,
50- { text : 'Using a Backdrop' , link : '/guide/step-using-a-backdrop' } ,
51- { text : 'Scroll to Element' , link : '/guide/step-scroll-to-element' } ,
52- ] } ,
53- ]
69+ {
70+ text : 'Highlight Target' ,
71+ link : '/guide/step-highlight-target' ,
72+ } ,
73+ {
74+ text : 'Using a Backdrop' ,
75+ link : '/guide/step-using-a-backdrop' ,
76+ } ,
77+ {
78+ text : 'Scroll to Element' ,
79+ link : '/guide/step-scroll-to-element' ,
80+ } ,
81+ ] ,
82+ } ,
83+ ] ,
5484 } ,
5585 {
5686 text : 'Advanced' ,
@@ -61,42 +91,45 @@ export default defineConfig({
6191 { text : 'Multiple Tours' , link : '/guide/multiple-tours' } ,
6292 {
6393 text : 'Styling' ,
64- items : [
65- { text : 'CSS Theme' , link : '/guide/css-theme' } ,
66- { text : 'Component Slots' , link : '/guide/component-slots' } ,
67- ]
68- }
69- ]
94+ items : [
95+ { text : 'CSS Theme' , link : '/guide/css-theme' } ,
96+ { text : 'Component Slots' , link : '/guide/component-slots' } ,
97+ ] ,
98+ } ,
99+ ] ,
70100 } ,
71101 {
72102 text : "What's next?" ,
73103 collapsed : false ,
74104 items : [
75105 { text : 'Roadmap' , link : '/guide/roadmap' } ,
76- { text : 'Changelog' , link : 'https://github.com/GlobalHive/vuejs-tour/blob/master/CHANGELOG.md' } ,
77- ]
78- }
106+ {
107+ text : 'Changelog' ,
108+ link : 'https://github.com/GlobalHive/vuejs-tour/blob/master/CHANGELOG.md' ,
109+ } ,
110+ ] ,
111+ } ,
79112 ] ,
80113 '/reference/' : [
81114 {
82115 text : 'Reference' ,
83116 collapsed : false ,
84- items : [
85- { text : 'Coming Soon' , link : '/reference/coming-soon' } ,
86- ]
117+ items : [ { text : 'Coming Soon' , link : '/reference/coming-soon' } ] ,
87118 } ,
88119 ] ,
89120 } ,
90121 socialLinks : [
91- { icon : 'github' , link : 'https://github.com/GlobalHive/vuejs-tour' }
122+ { icon : 'github' , link : 'https://github.com/GlobalHive/vuejs-tour' } ,
92123 ] ,
93124 footer : {
94125 message : 'Released under the MIT License.' ,
95- copyright : 'Made with ❤️ by <a href = "https://github.com/GlobalHive/vuejs-tour">Global Hive</a>'
126+ copyright :
127+ 'Made with ❤️ by <a href = "https://github.com/GlobalHive/vuejs-tour">Global Hive</a>' ,
96128 } ,
97129 editLink : {
98- pattern : 'https://github.com/GlobalHive/vuejs-tour/tree/master/docs/:path' ,
99- text : 'Edit this page on GitHub'
130+ pattern :
131+ 'https://github.com/GlobalHive/vuejs-tour/tree/master/docs/:path' ,
132+ text : 'Edit this page on GitHub' ,
100133 } ,
101- }
102- } )
134+ } ,
135+ } ) ;
0 commit comments