-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hi, newbie here
I am trying to setup a rails app with react, just experimenting atm. After trying to set up a custom component I can't pass the following error

These are my config files

If I understand correctly by pinning the components dir I should be able to see it in the importmaps json, by currently I don't see it
{ "imports": { "react": "https://esm.sh/react@18", "react-dom": "https://esm.sh/react-dom@18", "react/jsx-runtime": "https://esm.sh/react@18/jsx-runtime", "application": "/assets/application-e8fd93c9.js" } }
Am I missing something? do I need to run an extra command for this json file to update?
I am using Rails 8.0.2 and importmaps 2.1.0
Metadata
Metadata
Assignees
Labels
No labels