You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
I have a modular JavaScript project with Laravel and Vite JS.
I installed MixItUp via npm.
Following the instructions on your site I added MixItUp Pagination:
import mixitup from 'mixitup'; // loaded from node_modules
import mixitupPagination from '../path/to/mixitup-pagination'; // loaded from a directory of your choice within your project
// Call the mixitup factory's .use() method, passing in the extension to install it
mixitup.use(mixitupPagination);
I get this error in the console: The requested module '/resources/js/modules/mixitup-pagination.js' does not provide an export named 'default'
If I change the import like this: import * as mixitupPagination from './mixitup-pagination'
I get this error in the console: Uncaught Error: [MixItUp Pagination] MixItUp core not found
How can I fix this and import MixItUp Pagination correctly?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a modular JavaScript project with Laravel and Vite JS.
I installed MixItUp via npm.
Following the instructions on your site I added MixItUp Pagination:
I get this error in the console:
The requested module '/resources/js/modules/mixitup-pagination.js' does not provide an export named 'default'
If I change the import like this:
import * as mixitupPagination from './mixitup-pagination'
I get this error in the console:
Uncaught Error: [MixItUp Pagination] MixItUp core not found
How can I fix this and import MixItUp Pagination correctly?
The text was updated successfully, but these errors were encountered: