https://github.com/julianrubisch/bridgetown-automation-swiperjs
https://github.com/julianrubisch/bridgetown-automation-swiperjs
bridgetown-automation bridgetown-plugin
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/julianrubisch/bridgetown-automation-swiperjs
- Owner: julianrubisch
- License: mit
- Created: 2020-12-27T14:17:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-27T14:46:04.000Z (almost 5 years ago)
- Last Synced: 2025-02-09T17:17:56.648Z (9 months ago)
- Topics: bridgetown-automation, bridgetown-plugin
- Language: Ruby
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Purpose
## What this automation does
This automation will modify the following file:
- `frontend/javascript/index.js`
- `frontend/styles/index.scss`
It will add the following NPM packages:
- [swiper](https://github.com/nolimits4web/swiper)
## Prerequisites
#### "Bridgetown >= 0.15.0"
```bash
bridgetown -v
# => bridgetown 0.17.0 "Mount Scott"
```
This project requires the `apply` command introduced in Bridgetown version
`>= 0.15.0`
## Usage
### New project
```bash
bridgetown new --apply="https://github.com/julianrubisch/bridgetown-automation-swiperjs"
```
### Existing Project
```bash
cd
[bundle exec] bridgetown apply "https://github.com/julianrubisch/bridgetown-automation-swiperjs"
```
## Getting Started
Check out https://swiperjs.com/get-started/ for setup and configuration options.