Closed PeterBrais closed 8 months ago
Hello, looks like the CSS for the component is not loaded, even if you got this line: import 'v-phone-input/dist/v-phone-input.css';
. Could you check if there is the style in your HTML page please?
CSS is not loading even when I add the line: import 'v-phone-input/dist/v-phone-input.css';
in the component itself. However, at the same time, import 'flag-icons/css/flag-icons.min.css';
loads and works fine. I have tried a few things. I was able to apply the CSS by copying the contents of node_modules/v-phone-input/dist/v-phone-input.css
and inserting them into the component's <style scoped></style>
. I am not sure if this is somehow related to configuration.
I'm not experiencing this, so it might be a configuration issue (on your side or on the package side). Could you provide a minimal reproduction repository please? This can be tricky to find the issue without it.
The issue was apparently with Laravel Mix. After migrating to Vite 5.1.4, the problem has been resolved.
Great news! Thanks a lot for investing on your side!
Expected Behavior
Actual Behavior
Steps to Reproduce the Problem
app.js
Component
Looks like something wrong with CSS. Not sure if it conflicts with dependencies
Specifications