Skip to content

Webpacker & cocoon javascript #466

@ajkiessl

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions