|
|
|
|
|
by johnisgood
733 days ago
|
|
So, I could build an e-commerce website in Elixir using Phoenix, similarly to how I could do this in PHP? Would something like: $ mix archive.install hex phx_new
$ mix phx.new your_project_name --no-html --no-webpack
work? With all the JavaScript removed if it still creates any.[1][1] I think it does create a .js file at the very least but that is just a configuration file. |
|
--no-webpack is deprecated as Phoenix uses esbuild now but see the docs: "--no-esbuild - do not include esbuild dependencies and assets. We do not recommend setting this option, unless for API only applications, as doing so requires you to manually add and track JavaScript dependencies"