Replies: 2 comments 3 replies
-
I think I found the answer to my own issue. Adding the following
|
Beta Was this translation helpful? Give feedback.
1 reply
-
To update, the way of doing this is now: import { defineUserConfig, viteBundler } from "vuepress-vite";
export default defineUserConfig({
bundler: viteBundler({
viteOptions: {
ssr: {
noExternal: ['vuetify']
}
}
}),
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a static site built from VuePress and Vuetify 2 and have been trying to upgrade the site to VitePress (1.0.0-alpha.10) and Vuetify 3 (3.0.0-beta.10).
This is what I have in
.vitepress/theme/index.ts
:I'm able to browse the static site locally by running
vitepress dev
, but building the static page by runningvitepress build
gives me "Unknown file extension error .css":Any help to solve this issue will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions