mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
Add future note about init function
This commit is contained in:
parent
32c79a561f
commit
e4cc625c33
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@
|
|||
resources.Minify }}
|
||||
<script type="module">
|
||||
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(() => {
|
||||
drawGraph(
|
||||
{{strings.TrimRight "/" .Page.Permalink}},
|
||||
|
|
Loading…
Reference in a new issue