Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Latest commit

 

History

History
15 lines (13 loc) · 1.02 KB

File metadata and controls

15 lines (13 loc) · 1.02 KB

This project is intended to illustrate Webpacker usage within a modern Rails app. You can run the project by cloning the repository, running bin/setup, and then starting the server with bin/rails server.

The git history of this project is of significance, having been curated with the intent of guiding the reader through some common usage scenarios involving Webpacker-packed assets. The following use Webpacker-packed images, SCSS, and JS:

  • 2b1c3bb uses an image in a Rails view
  • a887826 styles a Rails view with SCSS
  • 4cd6d14 uses an image within SCSS
  • 121ae3f shows a way to supply vendored code
  • 609bc83 uses an image within JS
  • 5ba8a87 creates a React component with the default integration