Integrate Vue Flow into laravel nova #489
-
Hi, I'm trying to create a component for Laravel Nova that will use Vue Flow.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 28 replies
-
Can you try importing the default theme as well? Also could you check if the VueFlow element is rendered into your DOM? (check with the browser devtools if the |
Beta Was this translation helpful? Give feedback.
-
Still empty. |
Beta Was this translation helpful? Give feedback.
-
Now it looks that components is loaded but styles are not renderd I've make some change to the markup to have a container for Vue Flow.
|
Beta Was this translation helpful? Give feedback.
-
Path is fine as If I set "node_modules" before I got webpack compilation error and I can see styles into dev-tools. |
Beta Was this translation helpful? Give feedback.
-
Just so other users find the answer to this question: You need to set proper dimensions for the wrapping element of VueFlow, meaning it needs to have a width and a height, otherwise VueFlow will not work properly. |
Beta Was this translation helpful? Give feedback.
Just so other users find the answer to this question: You need to set proper dimensions for the wrapping element of VueFlow, meaning it needs to have a width and a height, otherwise VueFlow will not work properly.