Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Import in webpack

Home Forums Latest release 1.1.x Import in webpack Reply To: Import in webpack


Hi, you need both jquery and smartmenus added to your dependencies in “package.json” – e.g.:

"jquery": "^3.3.1",
"smartmenus": "^1.1.1"

and then in your app’s JS the following should work:

import $ from 'jquery';



The smartmenus module exports jQuery itself so you could even do something like this (without importing jquery separately):

import $ from 'smartmenus';