-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Labels
good first issueEasy to fix issues, good for newcomersEasy to fix issues, good for newcomers
Description
import ant-design library throw error
can you provide an example import ant-design use [RFC] css support? thanks.
when i use [RFC] css support and import ant-design library, it throw error :
./node_modules/antd/lib/button/style/index.css
Global CSS cannot be imported from files other than your Custom <App>. Please move all global CSS imports to pages/_app.js.
here is my next-config.js
module.exports = {
experimental: {
css: true
},
}
kachkaev, nip10, vitorhsb, oceandrama, subodh-malgonde and 4 more
Metadata
Metadata
Assignees
Labels
good first issueEasy to fix issues, good for newcomersEasy to fix issues, good for newcomers