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

Hooper global initialization as Nuxt plugin #256

Open
MaximumRGB opened this issue Dec 15, 2022 · 0 comments
Open

Hooper global initialization as Nuxt plugin #256

MaximumRGB opened this issue Dec 15, 2022 · 0 comments

Comments

@MaximumRGB
Copy link

MaximumRGB commented Dec 15, 2022

Is it possible to initialize Hooper (Slider, Pagination, Navigation) as a plugin in a Nuxt 2 application?
Like that:

import Vue from "vue";
import {
  Hooper,
  Slide,
  Pagination as HooperPagination,
  Navigation as HooperNavigation
} from "hooper";

Vue.use(Hooper, {
  settings: { ... }
});

Vue.use(Slider, {
  settings: { ... }
});

etc.

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