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

Webpacker & cocoon javascript #466

Open
ajkiessl opened this issue Mar 10, 2022 · 0 comments
Open

Webpacker & cocoon javascript #466

ajkiessl opened this issue Mar 10, 2022 · 0 comments

Comments

@ajkiessl
Copy link
Contributor

To use cocoon with webpacker, the javascript file must be copied from github:nathanvda/cocoon and placed in app/javascripts/base.

A proposed change to cocoon may allow yarn or npm install to work without the need to copy the js file. This has not been completed yet so this ticket is a reminder to check and make the change if/when it becomes available.

nathanvda/cocoon#454

Update: Looks like we can require this code by adding the following to the application.js:
https://github.com/nathanvda/cocoon#rails-6webpacker

@ajkiessl ajkiessl moved this to To do in ETDA Workflow May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant