jQuery in palette provider

I am trying to use some jQuery code in PaletteProvider but isnt working.

I simple created a new palette item that calls my function showDialog, that, calls some jQuery codes.
When I try to do that, I receive ‘$’ error. What can I do?

I want to, when the user press in my palette item that calls a jQuery function to show a Dialog, but I dont know how I do that.

Could someone help me?

Hello @Corlobin,

In our projects we use browserify to require modules, therefore you should use Jquery’s CommonJS version of it which you can get from npm. You can see this in action in one of our examples.

Hope it helps.

Cheers,
Ricardo