-
How to install plugins, directives, global components. Usual way is:
What to do when using SSG: What about other plugins, directives, global components? |
Beta Was this translation helpful? Give feedback.
Answered by
RollingTL
May 24, 2022
Replies: 1 comment
-
Found solution: export const createApp = ViteSSG( |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RollingTL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found solution:
export const createApp = ViteSSG(
App,
{ routes },
({ app, router, routes, isClient, initialState }) => {
app.use(i18n)
}
)