routify.dev icon indicating copy to clipboard operation
routify.dev copied to clipboard

How to use component based manual route instead of file system

Open HeyAzhar opened this issue 3 years ago • 1 comments

Hello Devs, Is there any way to opt out from file system route and implement component based? ...or any other way to keep it dynamic as example,

ExistFileSystem : {
    route : "/one",
    component : One,    // auto generated based on file system
}

ExpectedSystem : {
    route : "/one",
    component : Two,    // adding this component manually
}

HeyAzhar avatar Nov 15 '22 05:11 HeyAzhar

That should be doable. Especially for Routify 3. Which version are you using?

jakobrosenberg avatar Nov 15 '22 07:11 jakobrosenberg