Global CSS cannot be imported from within node_modules

--

2022.03.21

./node_modules/antd-mobile/es/components/action-sheet/action-sheet.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/antd-mobile/es/components/action-sheet/index.js

https://mobile.ant.design/guide/ssr

Solution

--

--