webpack-contrib / imports-loader

Imports Loader
MIT License
520 stars 63 forks source link

import Froala Editor $(...).editable is not a function #24

Closed Cydmi closed 8 years ago

Cydmi commented 8 years ago

#{ test: require.resolve("./src/plugins/froala_editor.min"), loader: "imports?$=jQuery" } var``$=require("jquery");$('#edit').editable()

webpack chrome console error : Uncaught TypeError: $(...).editable is not a function!

why ?

SpaceK33z commented 8 years ago

See this question and this question. If that doesn't work, I would recommend to ask this question on StackOverflow since it's not an issue from this repo.

tl;dr - you might have duplicate jquery versions.