Closed wonsuc closed 3 years ago
It is AMD compatible, but it is a JQuery library, not going to get away from that sorry bud
Okay, I actually found https://www.npmjs.com/package/layout-jquery3 and there will be no problem if I can import this library from node.js
.
It would be better if it is written in REAME.md
like getting started
with npm
.
Anyway thanks for supporting :)
We are currently migrating source code to reactjs.
While migrating, we removed
jQuery
related resources(js, css, library files) fromindex.html
and moved to js file(view component).And we had to import those files dynamically, at this time we use code like below.
Everything works fine, except Resize Bar cursor is not showing if you hover on the element, and if you drag the bar it won't resize the panels.
I tried to install this library from
npm
, but I don't know how to(couldn't find the package fromnpm
).I even tried to import directly from the js file, but webpack shows errors while compiling. (see below)
The only way I can make it work is to put
jQuery
,jQuery UI
,jQuery UI Layout
toindex.html
.I hope it works with dynamic loading.