How to plug an SDK into VitePress #1856
Unanswered
erondpowell
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Client side stuff can directly be put in script blocks in markdown/vue files. If you need to do some server side stuff at build only, then you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to plug an SDK into Vitepress.
I'm assuming I should just pass it as
app.use(mySDK)
inenhanceApp
in index.jsIs there anything to be warned or noted when doing that for vitepress?
I'll use it to fetch and render some markdown in a db (shold happen serverside).
Later, it might have dynamic CRUD operations or a "login" element (clientside).
Are there any tips with getting the data to render serverside?
Beta Was this translation helpful? Give feedback.
All reactions