File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 151151 }
152152
153153 window . $docsify = {
154- name : "GitHub Guides" ,
155- repo : "harys722/github-guides" ,
156- coverpage : 'coverpage.md' ,
157- notFoundPage : 'error.md' ,
158- search : [ "/" ] ,
159- themeColor : "#FFD700" ,
160- alias : {
161- "/" : "https://raw.githubusercontent.com/harys722/github-guides/main/README.md"
154+ name : "GitHub Guides" ,
155+ repo : "harys722/github-guides" ,
156+ coverpage : 'coverpage.md' ,
157+ notFoundPage : 'error.md' ,
158+ search : [ "/" ] ,
159+ themeColor : "#FFD700" ,
160+ alias : {
161+ "/" : "https://raw.githubusercontent.com/harys722/github-guides/main/README.md"
162+ } ,
163+ vueComponents : {
164+ 'button-counter' : {
165+ template : `
166+ <button @click="count += 1">
167+ You clicked me {{ count }} times
168+ </button>
169+ ` ,
170+ data ( ) {
171+ return {
172+ count : 0 ,
173+ } ;
174+ } ,
162175 } ,
163- plugins : [
164- function ( hook , vm ) {
165- hook . doneEach ( function ( ) {
166- const toggle = document . getElementById ( 'themeToggle' ) ;
167- if ( toggle ) {
168- toggle . style . display = 'flex' ;
169- }
170- } ) ;
176+ } ,
177+ plugins : [
178+ function ( hook , vm ) {
179+ hook . doneEach ( function ( ) {
180+ const toggle = document . getElementById ( 'themeToggle' ) ;
181+ if ( toggle ) {
182+ toggle . style . display = 'flex' ;
171183 }
172- ]
173- }
184+ } ) ;
185+ }
186+ ]
187+ } ;
174188 </ script >
175189
176190 < script src ="https://cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js "> </ script >
You can’t perform that action at this time.
0 commit comments