Using NPM with Phoenix
While I’d prefer to utilize LiveView hooks and server-side logic for all tasks, eventually you’ll need to delve into the world of JavaScript libraries. By default, Phoenix doesn’t generate a package.json file, or an obvious place to manage JavaScript dependencies. However, it does fully support this