Skip to content

recommended way to add additional importmaps? #287

Open
@KonnorRogers

Description

@KonnorRogers

I was trying to extend the importmaps JSON generated because you can only have 1 importmap on a page.

The best I came up with was the following:

https://github.com/KonnorRogers/importmaps-sandbox-rails/blob/main/config/application.rb#L27-L118

Is there a better way to hook into the generated JSON?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions