metalice / 2CO-NODE

React stateful component to connect to 2CO api and generate authorization token
2 stars 0 forks source link

Error with nextjs #3

Open qasidcommons opened 3 years ago

qasidcommons commented 3 years ago

Hi I've set up your component inside a nextjs react page. I get this error ./node_modules/2co-react/node_modules/react-loader-spinner/dist/loader/css/CradleLoader.css Global CSS cannot be imported from within node_modules. which points to https://nextjs.org/docs/messages/css-npm

Is it possible for you to publish a compiled version of the dependency?