Add a README.md file
This commit is contained in:
parent
da38f918e4
commit
79c6bb5b78
1 changed files with 31 additions and 0 deletions
31
README.md
Normal file
31
README.md
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
# Kylie Marilyn Website
|
||||||
|
|
||||||
|
That is the static website for Miss Kylie Marilyn. It is powered by pure HTML and Tailwind CSS. The index is a PHP file so that I can have a dynamic year in the copyright.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Do the normal `npm install` to install dependencies. See the Tailwind CSS documentation for details.
|
||||||
|
|
||||||
|
### Run dev _watch_
|
||||||
|
|
||||||
|
|
||||||
|
```shell
|
||||||
|
npx tailwindcss \
|
||||||
|
-i ./src/css/styles.css \
|
||||||
|
-o public/build/styles.css \
|
||||||
|
--jit \
|
||||||
|
--purge="./public/**/*.php" \
|
||||||
|
--watch
|
||||||
|
````
|
||||||
|
|
||||||
|
### Run production build
|
||||||
|
|
||||||
|
```shell
|
||||||
|
NODE_ENV=production \
|
||||||
|
npx tailwindcss \
|
||||||
|
-i ./src/css/styles.css \
|
||||||
|
-o public/build/styles.css \
|
||||||
|
--jit \
|
||||||
|
--purge="./public/**/*.php" \
|
||||||
|
--minify
|
||||||
|
```
|
||||||
Loading…
Reference in a new issue