km-site/README.md
2021-07-04 11:23:34 +02:00

31 lines
No EOL
697 B
Markdown

# 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
```