Repository navigation
Releases
Releases · ozbilgic/rails-frontend-cli
1.0.5
1.0.4
New Features
- Static Site Generation:
- Added
rails-frontend buildcommand (short:b) - Asset organization (img, js, css, fonts folders)
- Automatic path corrections (HTML and CSS)
- HTML cleanup (csrf, index.html links)
- Ready output for static hosting
- Added
Improvements
- Server check (detects server and port before build process)
- Asset folder structure:
build/assets/{img,js,css,fonts}/ - Path corrections in HTML files:
assets/application.js→assets/js/application.jsassets/controllers/index.js→assets/js/index.jsassets/application.css→assets/css/application.css
- Absolute path usage in CSS files:
- Font:
url("font.woff2")→url("/assets/fonts/font.woff2") - Image:
url("image.jpg")→url("/assets/img/image.jpg")
- Font:
- CSRF cleanup
- index.html link corrections
Documentation
- README.md updated
- Static site generation section added to USER_MANUAL.md
- Help message updated
- Command reference tables updated