Skip to content

Commit 20e4118

Browse files
committed
fix(routing): mark dynamic components raw formatting
1 parent a943f12 commit 20e4118

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/nuxt/pages/[...slug].vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
import { defineAsyncComponent } from 'vue'
99
1010
const CATEGORY = markRaw(defineAsyncComponent(() =>
11-
import('~/modules/catalog/category/pages/index.vue'))
11+
import('~/modules/catalog/category/pages/index.vue')
12+
)
1213
)
1314
1415
const PRODUCT = markRaw(defineAsyncComponent(() =>
15-
import('~/modules/catalog/product/pages/index.vue'))
16+
import('~/modules/catalog/product/pages/index.vue')
17+
)
1618
)
1719
1820
const category = useState<{ type: string }>('routeData')?.value?.type

0 commit comments

Comments
 (0)