Skip to content

Commit ad0380b

Browse files
committed
Add katex flag to nuxt example
1 parent c6ee517 commit ad0380b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

example/pages/_slug.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
:pageLinkOptions="pageLinkOptions"
55
fullPage
66
prism
7+
katex
78
/>
89
</template>
910

@@ -18,7 +19,9 @@ export default {
1819
};
1920
},
2021
async asyncData({ $notion, params, error }) {
21-
const pageTable = await $notion.getPageTable("10327f9074b7433aad577ccd0020e971");
22+
const pageTable = await $notion.getPageTable(
23+
"10327f9074b7433aad577ccd0020e971"
24+
);
2225
const page = pageTable.find(
2326
(item) => item.published && item.slug === params.slug
2427
);

0 commit comments

Comments
 (0)