I want to use ckeditor in my phoenix project.
If I put the ckeditor files in / web / static / assets / ckeditor, the ckeditor folder is copied to / priv / static, but if I access the file in http: // localhost: 4000 / ckeditor / ckeditor.js , it shows me
route not found for GET / ckeditor / ckeditor.js
However, if I moved the entire ckeditor folder under the default name folder (js, css, image), then it will be served.
The static asset documentation http://www.phoenixframework.org/docs/static-assets assumes that everything that is placed there will be copied and maintained. But it seems that only the js / css / image / font folders are obtained, and not any custom folder with the name.
How can I serve these files?
phoenix-framework
Asif shiraz
source share