Skip to main content
Topic: vue version: how integrate wue.draggable or any other extension? (Read 1019 times) previous topic - next topic

vue version: how integrate wue.draggable or any other extension?

What is the procedure to include the vue extensions that I have to use? thanks a lot

Re: vue version: how integrate wue.draggable or any other extension?

Reply #1
@andynet62‍ copy your plugin to this folder assets\plugin\, if it doesn't exist, create it. Then include the necessary files in the app\views\layouts\main_layout.php before the </head> tag then you can use it where you want to.

Re: vue version: how integrate wue.draggable or any other extension?

Reply #2
OK. I apologize because I am a beginner with the use of Vue (and phprad ...).
I get this error report when I try to import the "draggable" component:
"Uncaught SyntaxError: Cannot use import statement outside a module"
and then subsequently on the page modified with the use of <draggable tag = "tbody">:
"Uncaught ReferenceError: draggable is not defined"