Issues with `src`
ccrvlh opened this issue · comments
Hi, after cloning I moved everything to a src
dir except public
(node_modules
and .next
are also outside the src
).
I then edited the basePath
to "./src"
but doesn't work so well: the app compiles, doesn't give any errors, but it completely loses the formatting, the Next and GitHub logo are gigantic, and things are aligned in bottom left corner. Everything seems to work fine when not using src
. I also tried changing the paths
on tsconfig
to "@/*": ["./src/*"]
- from what I understand this has the same effect as basePath
.
All imports resolve, and point to the right place (they do consider @
as being the src
dir). I wondering if there's anything what I might be doing wrong, couldn't find a way to troubleshoot this.
Really appreciate your work on sharing this and ui
thanks a lot!
For anyone with the same issue, I also had to change the content
section on tailwind.config.js
. As you can see, I'm not very familiar with frontend tooling :)