Skip to content
Discussion options

You must be logged in to vote

Hi !
I've taken a look at your problem, it seems like the vue.draggable.next lib only exposes the component and does not install it. Thus, you need to create a js file that performs the installation and provide it in your module scripts :)
They're some breaking changes on how to use the draggable component between vue2 and vue3. The item slot must be used rather than a v-for and an item-key must be provided (cf. vue.draggable.next README)

from trame.app import get_server
from trame.ui.html import DivLayout
from pathlib import Path
from trame.widgets import vuetify3 as vuetify, helper

server = get_server(client_type="vue3")
state = server.state
controller = server.controller

## Create a …

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@resammc
Comment options

@resammc
Comment options

Comment options

You must be logged in to vote
3 replies
@resammc
Comment options

@jourdain
Comment options

@resammc
Comment options

Comment options

You must be logged in to vote
2 replies
@resammc
Comment options

@Justineantoine
Comment options

Answer selected by resammc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants