Skip to content
Discussion options

You must be logged in to vote

@denjamio Check out this example Rails engine which is used in the example Rails app.
See a live example.

That's the minimal setup required to get HMR when a dev server is running, and ensure it doesn't delete assets from the parent app.

There's definitely room for improvement, specially when it comes to deployment.

Make sure to use [email protected], as it contains a few improvements for the engine use case.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
5 replies
@BilalBudhani
Comment options

@ElMassimo
Comment options

@BilalBudhani
Comment options

@ElMassimo
Comment options

@BilalBudhani
Comment options

Answer selected by ElMassimo
Comment options

You must be logged in to vote
5 replies
@ElMassimo
Comment options

@did
Comment options

@jrochkind
Comment options

@mattalat
Comment options

@did
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants