Added tailwind look option.
This commit is contained in:
@@ -19,18 +19,17 @@ To run the server from the command line:
|
||||
```bash
|
||||
python3 ok-server.py
|
||||
python3 ok-server.py --look basic
|
||||
python3 ok-server.py --bind 127.0.0.1 --port 8080 --look bootstrap
|
||||
python3 ok-server.py --bind 127.0.0.1 --port 8080 --look tailwind
|
||||
```
|
||||
|
||||
`--look` accepts `basic`, `nice`, or `bootstrap`.
|
||||
`--look` accepts `basic`, `nice`, `bootstrap`, or `tailwind`.
|
||||
You can override the look per request with the `look` query parameter, for example:
|
||||
|
||||
or
|
||||
`http://localhost:8080/?look=tailwind`
|
||||
|
||||
```bash
|
||||
node ok-server.mjs
|
||||
node ok-server.mjs --look basic
|
||||
node ok-server.mjs --bind 127.0.0.1 --port 8080 --look bootstrap
|
||||
node ok-server.mjs --bind 127.0.0.1 --port 8080 --look tailwind
|
||||
```
|
||||
|
||||
Connect to the server using a web browser or a tool like `curl`:
|
||||
|
||||
Reference in New Issue
Block a user