Skip to content

Commit

Permalink
docs: document template start script
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored Jan 21, 2024
1 parent 643f73a commit 0a5e666
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docs/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@ export default {
}
```

You can add custom startup scripts in `main.js` using the `start` option:

```js
export default {
start: () => {
// Startup script goes here
},
}
```

You can also configure syntax highlighting options using the `configureHljs` option:

```js
Expand Down

0 comments on commit 0a5e666

Please sign in to comment.