Skip to content

Installing plugins like vue-i18n, plugins, directives, global components #251

Answered by RollingTL
RollingTL asked this question in Q&A
Discussion options

You must be logged in to vote

Found solution:

export const createApp = ViteSSG(
App,
{ routes },
({ app, router, routes, isClient, initialState }) => {
app.use(i18n)
}
)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RollingTL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant