Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on require designmodo-flat-ui #185

Open
tucq88 opened this issue Nov 5, 2016 · 1 comment
Open

Issue on require designmodo-flat-ui #185

tucq88 opened this issue Nov 5, 2016 · 1 comment
Labels

Comments

@tucq88
Copy link

tucq88 commented Nov 5, 2016

I'm trying to import designmodo-flat-ui package, but it doesn't work very well.

flat-ui.js:7320Uncaught TypeError: Cannot read property 'documentElement' of undefined(…)
That error comes from dependency for flat-ui scripts, I'm sure it's about jQuery but was unable to figure why

I have imported jQuery as well

import "jquery";
import "designmodo-flat-ui";

and declare $,jQuery in webpack

plugins: [
...
new webpack.ProvidePlugin({
      $: "jquery",
      jQuery: "jquery",
      "window.jQuery" : "jquery",
      "window.$": "jquery"
    })
...

Appreciate all helps :(

@fesor fesor added the question label Nov 28, 2016
@fesor
Copy link
Collaborator

fesor commented Jul 8, 2017

@tucq88 is this issue still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants