Just starting out with Next.js and I could use some help.
I'm having trouble getting all of the styles and images to work properly even though I've declared the css files in _app.tsx. Some styles are not being applied and images from 'public/images' are not being imported. Can you help me figure out what's causing this issue? Do I need to reorganize my folder structure? The version of Next.js I'm using is "13.1.1".
Thank you in advance for any assistance!
Here is the folder structure for the project I'm working on:
- public
- fonts
- images
- src
- pages
- styles
- global.css
- layout.css
This is how my _app.tsx file is set up:
import '@/styles/layout.css';
import '@/styles/common.css';
export default function App({ Component, pageProps }: AppProps) {
...
}