analogjs / analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro
https://analogjs.org
MIT License
2.59k stars 250 forks source link

Provide a flag when creating a new Analog app to default to config based routing #1366

Closed tayambamwanza closed 1 month ago

tayambamwanza commented 1 month ago

Which scope/s are relevant/related to the feature request?

create-analog

Information

This request is more of a personal preference, I've used file based routing by working on a svelte project, it's a good system but personally I do prefer config based routing, would it be possible to include a flag/arg when creating a new project to stick to Angular's default routing?

I would also like to state that my desire for config based routing here is not a reflection on the work done on file based routing in Analog. I do genuanly appreciate the work that's been put into it and I know a lot of good work has gone into it and would encourage anyone to at least try it but it's just not my preference.

Describe any alternatives/workarounds you're currently using

Undoing the file based routing setup and reconfiguring default Angular setup.

I would be willing to submit a PR to fix this issue