Install Sortable Plugin


Topic: Install Sortable Plugin

Storism asked 5 years ago

Expected behavior

  • Decent/some/any documentation.
  • Plugin to use same naming convention
  • Plugin to work

Actual behavior

"export 'mdbSortable' was not found in 'mdb-sortable'

Resources (screenshots, code snippets etc.)

I have downloaded the Sortable Plugin for VUE, I trawled through the support section because there is zero documentation,

Added the file to project root - mdb-sortable-5.0.0.tgz

Added the following to Package.json

  "mdb-sortable": "./mdb-sortable-5.0.0.tgz"

Importing the Plugin using

import { mdbSortable } from 'mdb-sortable'

Storism answered 5 years ago

Well, a bit embarrassing but I am happy to have it working

I changed:

import { mdbSortable } from 'mdb-sortable'

to

import mdbSortable from 'mdb-sortable'

Still would appreciate more documentation


Mikołaj Smoleński staff answered 5 years ago

Thanks for your remarks. We'll work on it soon.

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.0.1
  • Device: MacBook Pro
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No