Hi Everyone, I am trying to create a dashboard with drag and drop features . following is the code in javascript/Html Snippet: This is giving error: $(...).gridstack is not a function TypeError: $(...).gridstack is not a function I have added all the javascript file inside a folder theme->js This my components.json file: { "files": { "css": ["styles/web/css/main.css","css/bootstrap.min.css"], "js": [ "mxclientsystem/mxui/mxui.js", "js/jquery.min.js", "js/jquery-ui.min.js", "js/gridstack.all.js", "js/jquery.easing.min.js", "js/lodash.min.js", "js/jquery.easing.min.js", "js/bootstrap.min.js" ] }, "cachebust": "{{cachebust}}" }
asked
sakshi gaur
2 answers
0
Can you try to put your library file in the index.html file ?
something like : <script src="yourLibrary..."></script>