Open Aravinda93 opened 5 months ago
@jerosoler
I am using the Drawflow library in my Nuxt 3 application with composition API but for some reason, I get the following error:
The requested module '/_nuxt/node_modules/drawflow/dist/drawflow.min.css?t=1706078236271' does not provide an export named 'default'
This is because I am importing the styles from the Drawflow library Node modules:
Drawflow
Node modules
<script setup> import styleDrawflow from "drawflow/dist/drawflow.min.css"; </script>
if I remove this then everything works fine but some of the Node styles get messed up, how to fix this?
The css files not include export method.
View documentation to import css in nuxt.
Try or add in nuxt.config file
https://nuxt.com/docs/getting-started/styling
@jerosoler
I am using the Drawflow library in my Nuxt 3 application with composition API but for some reason, I get the following error:
This is because I am importing the styles from the
Drawflow
libraryNode modules
:if I remove this then everything works fine but some of the Node styles get messed up, how to fix this?