Add future note about init function
This commit is contained in:
		@@ -67,6 +67,7 @@
 | 
				
			|||||||
  resources.Minify }}
 | 
					  resources.Minify }}
 | 
				
			||||||
  <script type="module">
 | 
					  <script type="module">
 | 
				
			||||||
    import { init } from '{{$router.Permalink}}';
 | 
					    import { init } from '{{$router.Permalink}}';
 | 
				
			||||||
 | 
					    // NOTE: everything within this callback will be executed for every page navigation. This is a good place to put JavaScript that loads or modifies data on the page.
 | 
				
			||||||
    init(() => {
 | 
					    init(() => {
 | 
				
			||||||
      drawGraph(
 | 
					      drawGraph(
 | 
				
			||||||
        {{strings.TrimRight "/" .Page.Permalink}},
 | 
					        {{strings.TrimRight "/" .Page.Permalink}},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user