September 2022
Intermediate to advanced
410 pages
10h 7m
English
All the tools for Hotwire and our bundle are available as part of the options for a standard rails new command. I’ll talk about installing TypeScript in Adding TypeScript and React in Chapter 4, React. We are not using not the default options for Rails, which I’ll talk about in Chapter 7, Bundling.
For the project in this book, I started a new Rails project with this command (it’s a single line when you use it, but split here to fit on the page):
| | bundle exec rails new . -a propshaft -j esbuild |
| | --database postgresql --skip-test --css tailwind |
This gives us a standard Rails application with the following overrides:
We are using PostgreSQL as the database instead of the default SQLite.
We are ...