Skip to content

Commit

Permalink
chore: fix demos swiper path
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jun 26, 2023
1 parent 4c361d4 commit 101802e
Show file tree
Hide file tree
Showing 50 changed files with 135 additions and 136 deletions.
2 changes: 1 addition & 1 deletion demos/010-default.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper');
</script>
Expand Down
2 changes: 1 addition & 1 deletion demos/020-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
navigation: {
Expand Down
2 changes: 1 addition & 1 deletion demos/030-pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion demos/040-pagination-dynamic.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion demos/050-pagination-progress.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion demos/060-pagination-fraction.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion demos/070-pagination-custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion demos/080-scrollbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
scrollbar: {
Expand Down
2 changes: 1 addition & 1 deletion demos/090-vertical.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
direction: 'vertical',
Expand Down
2 changes: 1 addition & 1 deletion demos/100-space-between.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
spaceBetween: 30,
Expand Down
2 changes: 1 addition & 1 deletion demos/110-slides-per-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 3,
Expand Down
2 changes: 1 addition & 1 deletion demos/120-slides-per-view-auto.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 'auto',
Expand Down
2 changes: 1 addition & 1 deletion demos/130-centered.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 4,
Expand Down
2 changes: 1 addition & 1 deletion demos/140-centered-auto.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 'auto',
Expand Down
2 changes: 1 addition & 1 deletion demos/145-css-mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
cssMode: true,
Expand Down
2 changes: 1 addition & 1 deletion demos/150-freemode.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 3,
Expand Down
2 changes: 1 addition & 1 deletion demos/160-scroll-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h4>Scroll Container</h4>

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
direction: 'vertical',
Expand Down
2 changes: 1 addition & 1 deletion demos/170-slides-per-column.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 3,
Expand Down
2 changes: 1 addition & 1 deletion demos/180-nested.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiperH = new Swiper('.swiper-h', {
spaceBetween: 50,
Expand Down
2 changes: 1 addition & 1 deletion demos/190-grab-cursor.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 4,
Expand Down
2 changes: 1 addition & 1 deletion demos/200-infinite-loop.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 1,
Expand Down
2 changes: 1 addition & 1 deletion demos/210-infinite-loop-with-slides-per-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 3,
Expand Down
2 changes: 1 addition & 1 deletion demos/211-slides-per-group-skip.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 1,
Expand Down
2 changes: 1 addition & 1 deletion demos/220-effect-fade.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
spaceBetween: 30,
Expand Down
4 changes: 2 additions & 2 deletions demos/230-effect-cube.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
effect: 'cube',
Expand Down Expand Up @@ -76,4 +76,4 @@
</style>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion demos/240-effect-coverflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
effect: 'coverflow',
Expand Down
2 changes: 1 addition & 1 deletion demos/250-effect-flip.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
effect: 'flip',
Expand Down
2 changes: 1 addition & 1 deletion demos/255-effect-cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
effect: 'cards',
Expand Down
4 changes: 2 additions & 2 deletions demos/257-effect-creative.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';

new Swiper('.swiper-1', {
Expand Down Expand Up @@ -267,4 +267,4 @@
</style>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion demos/260-keyboard-control.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<!-- Initialize Swiper -->
<script type="module">
import Swiper from 'swiper/swiper-bundle.esm.js';
import Swiper from 'swiper/swiper-bundle.mjs';
import 'swiper/swiper-bundle.css';
var swiper = new Swiper('.swiper', {
slidesPerView: 1,
Expand Down
Loading

0 comments on commit 101802e

Please sign in to comment.