#You meant absolute path import?
1 messages · Page 1 of 1 (latest)
No, in the app router you can do components/spinner.tsx from anywhere in the project. But in the tsconfig I don't see any alias. Let me see if I can find an example Next.js project that does this
This repo is a good example. https://github.com/vercel/commerce/blob/main/app/search/layout.tsx
Look at how footer is imported
That's what aboslute imports is
https://nextjs.org/docs/app/building-your-application/configuring/absolute-imports-and-module-aliases
It's in your jsconfig or tsconfig as baseurl
Interesting, okay I'll look into that. I guess just a brain block there