V6.1.1 init with pagination, pagination DOM is empty
See original GitHub issueThis is a (multiple allowed):
-
bug
-
Swiper Version: EXACT RELEASE VERSION OR COMMIT HASH, HERE.
V6.1.1
- Platform/Target and Browser Versions: PLATFORM CLIENT YOU ARE TARGETING SUCH AS macOS, Windows, CORDOVA, IOS, ANDROID, CHROME, ETC.
macOS, CHROME
- Live Link or JSFiddle/Codepen or website with isssue: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP).
https://codepen.io/believezjp/pen/xxVOboe
What you did
EXPLAIN WHAT YOU DID, PREFERABLY WITH CODE EXAMPLES, HERE.
new Swiper('.swiper-container', {
// need pagination
pagination: {
el: '.swiper-pagination',
type: 'bullets'
}
})
use Swiper in a vue.js project, init with pagination
, check DOM <div class="swiper-pagination"></div>
there is no bullets in pagination DOM.
Expected Behavior
EXPLAIN WHAT IS TO BE EXPECTED, HERE.
show pagination bullets DOM in <div class="swiper-pagination"></div>
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow for that.
Before you open an issue, please check if a similar issue already exists or has been closed before.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Swiper Pagination - ADocLib
Highcharts Basic v6.1.1 20180627 Fixed data module failing to initialize chart when the data config was empty. maxHeight option for paging.
Read more >React pagination from scratch using Hooks - LogRocket Blog
Create a reusable pagination component from scratch using React Hooks and avoid heavy libraries that may harm your app's performance.
Read more >Pagination | React InstantSearch - Algolia
A React InstantSearch widget for allowing users to change the current page of the search results.
Read more >https://raw.githubusercontent.com/SeoJaeWan/rs-swi...
Changelog # [6.4.15](https://github.com/nolimits4web/Swiper/compare/v6.4.14... ... **svelte/vue** navigation, pagination and scrollbar is not disabled when ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I known why!
but
import Swiper from "swiper/swiper-bundle.esm.js"
is ok!You can clearly see it is working correct here https://stackblitz.com/edit/swiper-demo-3-pagination-dhkdwx?file=index.html