Replies: 2 comments 1 reply
-
Which version of Alchemy, Rails, Webpacker, etc. are you using? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Please make sure you have a file in your // app/javascript/packs/alchemy/admin.js
import "@alchemy_cms/admin" Also make sure that "dependencies": {
"@alchemy_cms/admin": "~6.1.2"
} and that all node modules are installed
Then try
That should generate a file into your public/packs/js/alchemy/admin-1d6ff632adbf6d09fdb6.js |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use
alchemy_cms
withreact-rails
gem, which uses reactjs with webpacker, I still need to configure webpacker.yml to resolvealchemy/admin.js
which I need assistance with.Here is my webpacker.yml
So, I tried to use
resolved_paths: ['app/javascript/alchemy']
but I am getting error:it seems that it still look for it inside the react compiled packs.
I am using
./bin/webpack-dev-server
to compile locally.any idea how to include
alchemy/admin.js
properly?Beta Was this translation helpful? Give feedback.
All reactions