Background
I am in the process of porting an old LiveView app to the newest version of Phoenix ( v1.6.5). Being new to the whole thing in general I was expecting to run mix phx.new web_interface --live --no-ecto and to the find a similar structure to what I had before:
├───assets
│ ├───css
│ ├───js
│ └───static
│ └───images
├───config
├───lib
│ ├───web_interface
│ └───web_interface_web
│ ├───channels
│ ├───live
│ ├───templates
│ │ └───layout
│ └───views
└───priv
└───static
└───assets
Instead I got:
├───assets
│ ├───css
│ ├───js
│ └───vendor
├───lib
│ └───web_interface
│ ├───controllers
│ ├───templates
│ │ ├───layout
│ │ └───page
│ └───views
└───priv
├───gettext
│ └───en
│ └───LC_MESSAGES
└───static
├───assets
└───images
Something is missing
Paying close attention you will now see I am missing a couple of important folders, namely, web_interface_web and the live folder.
So now I am understand the impression I either missed a huge milestone upgrade or that something is wrong with my mix phx.new command.
Questions
- Why are these folders missing?
- How can I port the project? What are the equivalent folders now?