wintercounter / Protip

A new generation jQuery Tooltip plugin
http://protip.rocks
MIT License
359 stars 38 forks source link

webpack-encore - not compatible #43

Open seetpalsingh opened 4 years ago

seetpalsingh commented 4 years ago

I tried to implement this plugin in symfony(webpack encore).

but it reflects below issue:

WAIT Compiling... 12:58:04

ERROR Failed to compile with 7 errors 12:58:09

These relative modules were not found:

this to very urgent, plzzzzzz sort it out.

wintercounter commented 4 years ago

The minfied file is already browser ready, the whole thing is not meant to be imported as a module. If you want to do that, you can try to import from src as:

import 'protip/src/Plugin'

Not tested tho.

seetpalsingh commented 4 years ago

worked, thanks.

But other thing is I am unable to find examples of use of your plugin in different variations.

I understand you did effort to make this example tool to test the requirement on page "http://protip.rocks/"

but, that will be helpful if you can provide the script compiled from that tool on your home page.

for e.g. https://coolcarousels.frebsite.nl/c/67/ . if you click ok on [...] , you will get example code for it.

seetpalsingh commented 4 years ago

currently I am trying to plug your protip into old project without making much noice.

like:

<a href="javascript:void(0);" class="delete-btn" data-toggle="tooltip" data-tooltip="Remove"> <i class="material-icons">delete</i></a>