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

How to use the VueMq package without webpack and npm? #77

Open
HHKP1 opened this issue Oct 21, 2021 · 1 comment
Open

How to use the VueMq package without webpack and npm? #77

HHKP1 opened this issue Oct 21, 2021 · 1 comment

Comments

@HHKP1
Copy link

HHKP1 commented Oct 21, 2021

Is it possible to use the VueMq package without webpack and npm? Add VueMq via a script in html?

@craigrileyuk
Copy link

Yes. You can use a CDN to include it in your Vue2 app:

<script src="https://unpkg.com/vue-mq@1.0.1/dist/vue-mq.min.js"></script>

and the plugin is then made available on the window.vueMq object.

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

2 participants