Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import klisp as an object #349

Open
noloop opened this issue Aug 29, 2019 · 1 comment
Open

Import klisp as an object #349

noloop opened this issue Aug 29, 2019 · 1 comment

Comments

@noloop
Copy link

noloop commented Aug 29, 2019

Would there be any way I could do this:

import Klipse from '~/assets/klipse_plugin.min.js'

and then I can start it when I need it, for example:

Klipse.start();

because I realize that when the page changes, it does not update again and I need to update my SPA for klipse to work again.

Also I don't quite understand how I can use klisp by installing the npm package. I tried in many ways to make klipse work on my blog, but it doesn't work, I don't know how you are doing to create the klipse js file, but is there any way to build it as a javascript library? where can we start it dynamically as i showed above?

@workshub
Copy link

workshub bot commented Jul 15, 2020

A user started working on this issue via WorksHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant