From 9b98147c3107faa7e89a1e588210769058ac49cb Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 5 Mar 2021 11:05:54 +0100 Subject: [PATCH] Update README --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b35c84a..f135cf7 100644 --- a/README.md +++ b/README.md @@ -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