bootystrappy

This commit is contained in:
lubiana 2025-04-27 11:34:24 +02:00
parent 96b246462a
commit 321173dfe6
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
23 changed files with 9410 additions and 1027 deletions

35
README.md Normal file
View file

@ -0,0 +1,35 @@
# Asset Management with Webpack Encore
This project uses Webpack Encore for asset management including JavaScript and CSS minification.
## Setup
Before using the application, you need to set up the front-end assets:
1. Install Node.js dependencies:
```
npm install
```
2. Copy the existing static assets to the Encore assets directory:
```
mkdir -p assets/css assets/js
cp public/static/css/water.min.css assets/css/
cp public/static/js/htmx.min.js assets/js/
```
3. Build the assets:
For development:
```
npm run dev
```
For production (with minification):
```
npm run build
```
## Development
During development, you can use the watch command to automatically rebuild assets when files change: