solid-swiper-demo
This is an example project build for demostrating the use of Swiper in Solid.js projects
Prerequisites
Run pnpm install
to install the dependencies.
Running commands
Development mode: The webstie will be hot updated once source file is changed.
pnpm dev
Production mode: The webstie will be first built and be served on a server process.
pnpm build
pnpm start
Note
- In SSR mode, the swiper component can't accept
breakpoints
property, becausebreakpoints
property was designed to be an object. - In CSR mode, the swiper component works perfectly with
breakpoints
property.