Trying to install ex_admin for Phoenix. Having followed the directions on the following githubs:
...whenever I go to /admin
the css is unformatted; it's just black-on-white html. I have tried pointing brunch to the modules' assets directly:
paths: {
// Dependencies and current project directories to watch
watched: [
"web/static",
"test/static",
"deps/ex_admin/web/static"
],
...but this doesn't seem to work either. Is there a manual brunch override that needs to take place here, or is there some other way to tell brunch to read the /dep/ex_admin/
assets?
When you run mix admin.install
it will append your brunch-config.js
file with a number of comments explaining the changes you need to make in your brunch-config.js
file to get the ex_admin assets compile. That should fix your issue.
The is an outstanding pull request that include the assets automatically. Once its merged, you will not need this step.