Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0-stable] Merge pull request #2588 from tvdeyen/admin-js-imports #2589

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

alchemycms-bot
Copy link
Collaborator

Backport

This will backport the following commits from main to 7.0-stable:

Questions ?

Please refer to the Backport tool documentation

In order to be able to import additional JS modules
into the Alchemy admin UI you can use this.

Be sure to also pin the modules with `Alchemy.importmap`.

\## Example

    Alchemy.importmap.pin "flatpickr/de",
      to: "https://ga.jspm.io/npm:flatpickr@4.6.13/dist/l10n/de.js"

    Alchemy.admin_js_imports << "flatpickr/de"

(cherry picked from commit 79131fc)
@tvdeyen tvdeyen merged commit aa35a37 into 7.0-stable Oct 4, 2023
40 checks passed
@tvdeyen tvdeyen deleted the backport/7.0-stable/pr-2588 branch October 4, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants