I am getting the following error in Next.js while using it with Tailwind and ShadCN
Unanswered
Cape May Warbler posted this in #help-forum
Cape May WarblerOP
./src/app/globals.css:4:0
Module not found: Can't resolve './connect_world.svg'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./src/app/globals.css
I have an svg by connect_world name in the public folder
Module not found: Can't resolve './connect_world.svg'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./src/app/globals.css
I have an svg by connect_world name in the public folder
2 Replies
@Cape May Warbler ./src/app/globals.css:4:0
Module not found: Can't resolve './connect_world.svg'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./src/app/globals.css
I have an svg by connect_world name in the public folder
Asian black bear
The stuff in
/public is not available to webpack at build time. You would need to move it into your source directory.@Asian black bear The stuff in `/public` is not available to webpack at build time. You would need to move it into your source directory.
Cape May WarblerOP
okay will look into that, thanks