Old Syntax/Folders with new generators

Hey guys,

I am regretting at the moment to have updated to Phoenix 1.4.
I do not seem to be able to use the old phoenix generators for my web folder anymore.

Is there a way to get them running again in Phoenix 1.4?
I prefer the old structure and I dislike the new namespaces.

Ok, that was easier than expected.

I just copied the corresponding files of lib/mix/tasks and priv/templates from https://github.com/phoenixframework/phoenix/releases/tag/v1.3.4 and it works again :slight_smile:

3 Likes

You can actually customize those templates all you wish by design. :slight_smile:

1 Like

Mind giving us a quick walk-through on how did you solve your problems? It could be educational for future readers.

2 Likes

@dimitarvp I described all I did already. I could only add that I copied the task files and template files to the corresponding folders in my project, but I cannot edit my post

1 Like