Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Earlier this year I played around with Phoenix for a bit. As a JS dev learning about all this all at once it looks like such a great dev env.

One thing that still felt rough around the edges was the tie in with npm packages. Has that part been improving?



AFAIK Phoenix doesn't tie in with npm packages whatsoever.

You have an `assets/` dir that contains your javascript stuff, and out of the box Webpack is set up there, but besides that it's all your choice, with the exception of the pre-shipped stuff for Channels and LiveView.


It’s not supposed to tie in with NPM packages. Phoenix handles the back end, and can handle the HTML as well. If you want to include any front end JS stuff, just include the scripts or bundles like you would a regular site where you include JS stuff.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: