- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
What doesn't work
Currently when trying to use this module in a Next.js application, I get an error that says Global CSS cannot be imported from within node_modules
More about the Next.js Error
Global CSS cannot be imported from within node_modules
Temporary workaround
I managed to create a workaround in my own project by changing your package.json "main" to export dist/lib/tui-wrapper.js instead of dist/index.js AND by using a "dynamic" import in my Next.js app.
import dynamic from 'next/dynamic';
const DynamicDonut = dynamic(() => import('react-donut'), { ssr: false });
meetzaveri
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers