tatethurston / nextjs-routes

Type safe routing for Next.js
MIT License
553 stars 20 forks source link

Is there a setting when using Next.js 13? #158

Closed ilarkShim closed 1 year ago

ilarkShim commented 1 year ago

When using Next.js 13, is there a setting to enable the use of path strings when configured under the app folder?

tatethurston commented 1 year ago

@ilarkShim does your application exclusively use the app directory? If so, I recommend using the capability in next directly:

https://github.com/tatethurston/nextjs-routes/issues/142#issuecomment-1504326765

If you find deficiencies with next’s approach, let me know and I’m happy to consider adding support.

ilarkShim commented 1 year ago

Thanks for the answer, I found a way to set it up in the nextjs documentation