Setting up a Rails Engine with the TailwindCSS and Hotwire via Importmaps can be rather difficult. There's a lot of undocumented steps to take and it can be overwhelming to approach these problems. In this episode, we look at a step by step approach to both adding TailwindCSS and Turbo & Stimulus into a Rails Engine.
In this episode, we will look at a date range of data and build predictions of what future values will be. However, we won't be reaching for any 3rd party APIs, but instead use statistical models to learn from our data to predict the future dates. We'll also display out our data on a table and plot it to a graph.
The View Transition API makes it easy to change the DOM in a single step, while creating an animated transition between the two states. Currently, it's available in Chrome 111 and Microsoft Edge. In this episode, we'll create a stimulus controller to interact with this new UX.