Rails6 + Webpacker + bootstrapな環境でselect2の初期設定をする
説明
この記事を参考にselect2をyarn addして、
application.jsを設定するとOK。
参考記事
[https://benkoshy.github.io/2020/02/27/select2-with-webpacker.html:embed:cite]
この記事を参考にselect2をyarn addして、
application.jsを設定するとOK。
[https://benkoshy.github.io/2020/02/27/select2-with-webpacker.html:embed:cite]