Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Mar 13, 2021
1 parent 5562a55 commit 4a90287
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ $('select').select2({

## Getting involved

1. Fix [src/_layout.scss](src/_layout.scss), [src/_single.scss](src/_single.scss) or [src/_multiple.scss](src/_multiple.scss)
1. Do `npm run build:both`
1. Send me a Pull Request
1. Edit SCSS files in the [src folder](src)
1. Run `npm run build:both`
1. Send a Pull Request

You can use [docs](docs) dir for your development.

1. Do `npm run prepare` (this creates symlink to `dist/select2-bootstrap4.css` onto `docs`)
1. Serve `docs` with your local web server (e.g. `php -S localhost:8888 -t docs`)
1. Do `npm run watch`
1. Tweak scss and browse demo page on your browser
1. Run `npm run prepare` (this creates symlink to `dist/select2-bootstrap4.css` onto `docs`)
1. Serve `docs` from your local web server, examples:
- Using PHP: `php -S localhost:8888 -t docs`
- Using Python 3: `python3 -m http.server -d docs 8888`
1. Run `npm run watch`
1. Tweak SCSS and browse demo page on your browser

0 comments on commit 4a90287

Please sign in to comment.