Unknown file extension ".css" for Vuetify components #682
Unanswered
davedub
asked this question in
Help & Questions
Replies: 3 comments 5 replies
-
Seems like Vuetify is wrongly published on npm. See workaround for wrongly published packages at https://vite-plugin-ssr.com/common-issues. Let us know if that fixed your problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Your link converted this from an issue into a discussion but I'm not seeing a suggested workaround anywhere. Can you point me to one more specifically? Thanks. |
Beta Was this translation helpful? Give feedback.
4 replies
-
You’ve wrongly configured noExternal
…On Mon 6. Mar 2023 at 00:58, David Witus ***@***.***> wrote:
Here's the gist
<https://gist.github.com/davedub/66ff63026ebe035b18874224d56ac096>. My
goal is to take advantage of Netlify forms in a Vue app, which requires
prerendering
<https://www.netlify.com/blog/2018/09/07/how-to-integrate-netlify-forms-in-a-vue-app/>.
But maybe we are not discussing the same issue. This option seems meant to
exclude libraries from being prerendered and thereby throwing an error, not
to make them capable of being prerendered on the client side. Per this
description <https://vitejs.dev/config/ssr-options.html#ssr-noexternal>:
"Prevent listed dependencies from being externalized for SSR. If true, no
dependencies are externalized."
—
Reply to this email directly, view it on GitHub
<#682 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHVQRTA4ZG3VMIPTVNVR4LW2USDBANCNFSM6AAAAAAVQI2ZQY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
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
-
Description
I am trying to make vite-plugin-ssr work in a pre-existing Vuetify project. A vue file (\about\index.vue) is trying to load a component vue file from the same folder --
<script setup> import About from "./about.component.vue"; </script>The component file references Vuetify's grid system in the template. The error message below is thrown. I can add a link to the repo if that's useful. Any guidance, much appreciated. Thanks.
Error Message + Error Stack
Beta Was this translation helpful? Give feedback.
All reactions