@hanology/cham-browser 0.4.68 → 0.4.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanology/cham-browser",
3
- "version": "0.4.68",
3
+ "version": "0.4.69",
4
4
  "description": "CHAM — browser-compatible parser, serializer, and site generator for Classical Han Annotated Markdown",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -15,7 +15,8 @@ export async function createApp() {
15
15
  }
16
16
 
17
17
  if (!import.meta.env.SSR) {
18
- createApp().then(({ app, router }) => {
18
+ createApp().then(async ({ app, router }) => {
19
+ await router.isReady()
19
20
  app.mount('#app')
20
21
  const loader = document.getElementById('app-loading')
21
22
  if (loader) {