This README documents the steps taken to set up this Rails project with esbuild for JavaScript handling, Tailwind CSS for styling, and RBUI for UI components.
-
Create a new Rails project with esbuild:
rails new demo-esbuild --main --js esbuild
-
Add and install Tailwind CSS:
bundle add tailwindcss-rails rails tailwindcss:install
-
Add RBUI to the Gemfile:
gem "rbui", github: "rbui-labs/rbui", branch: "main"
-
Install RBUI:
rails generate rbui:install
-
Add a sample page with RBUI components (Details of this step are not provided in the initial setup description)
This project uses:
- Rails for the web framework
- esbuild for JavaScript bundling
- Tailwind CSS for styling
- RBUI for UI components
To run this project locally:
- Ensure you have Ruby and Rails installed
- Clone this repository
- Run
bundle install
to install dependencies - Run
rails server
to start the development server - Visit
http://localhost:3000
in your browser
For more details on the used technologies, refer to their documentation:
If you'd like to contribute to this project, please...
[Add your contribution guidelines here]
This project is open-source and available under the MIT License.