I'm new to Next.js.
Although I declared css files in _app.tsx, some of styles defined in the css files are not working. Some of styles use images imported from 'public/images' and this are not imported neither. Please help me find out what is wrong with this. Do I have to change the folder structure? The version of Next.js is "13.1.1".
Thanks in advance!!
I'm working on a project with below folder structures.
- public
- fonts
- images
- src
- pages
- styles
- global.css
- layout.css
My _app.tsx file looks like
import '@/styles/layout.css';
import '@/styles/common.css';
export default function App({ Component, pageProps }: AppProps) {
...
}