Skip to content

About

Astro component for swiper, dedicated to slider / carousel / photo swiper / slide. ⭐️ Star to support

Topics

Resources

Stars

32 stars

Watchers

1 watching

Forks

Repository files navigation

astro-swiper

Astro Swiper

Astro Swiper - native component for Swiper. Use for slides, carousel, photo swiper.

Doc of astro-swiper: astro-dev

This astro-swiper is a monorepo made of

Note that the doc is not part of this monorepo (yet?), but is part of astro-dev and github of astro-dev.

Installation

pnpm install installs all repo in this monorepo.

npm package

In order to develop and publish the astro-swiper npm package, please

cd packages/astro-swiper

Then commands are:

  • npm run lint
  • npm run format

To publish a new version on npm,

# build and test the demo
pnpm run build
pnpm run test

# update package.json and pnpm-lock.yaml, commit and create a tag
pnpm version <patch | minor | major>
git push  && git push --tags

npm login
npm publish
# And then create a release in github

Demo

Demo website using astro-swiper can be found in demo. It is used for testing. In order to see it, and test it:

cd demo
pnpm run dev
pnpm run test

About

Astro component for swiper, dedicated to slider / carousel / photo swiper / slide. ⭐️ Star to support

Topics

Resources

Stars

32 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages