Open Trung15010802 opened 2 weeks ago
Thanks for opening this issue! A maintainer will review it soon.
This code is from the udemy course React - The Complete Guide 2024 (incl. Next.js, Redux)(https://www.udemy.com/course/react-the-complete-guide-incl-redux/) - it's how I discovered Million.js too!
In section 13, the instructor introduces Million.js and points out that there is a reference error caused by the icons in the buttons that are vanishing for you. He fixes this by adding //million-ignore
directly above the default export on the icon pages.
Looking at Million.js docs, I can see they've changed since the video was made. I'm new to Million.js so I don't know if //million-ignore
is still usable. But have you tried excluding the icons in your build options as is referenced on Million.js docs?
This code is from the udemy course React - The Complete Guide 2024 (incl. Next.js, Redux)(https://www.udemy.com/course/react-the-complete-guide-incl-redux/) - it's how I discovered Million.js too!
In section 13, the instructor introduces Million.js and points out that there is a reference error caused by the icons in the buttons that are vanishing for you. He fixes this by adding
//million-ignore
directly above the default export on the icon pages.Looking at Million.js docs, I can see they've changed since the video was made. I'm new to Million.js so I don't know if
//million-ignore
is still usable. But have you tried excluding the icons in your build options as is referenced on Million.js docs?
I see no error so i don't put //million-ignore
on my components. But if i do, i still facing the issue
What version of
million
are you using?0.0.16
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npn
What operating system are you using?
Windows 11
What browser are you using?
Chrome
Describe the Bug
Component missing after installing million.js on my React App
What's the expected result?
Link to Minimal Reproducible Example
https://stackoverflow.com/questions/78547561/component-missing-after-installing-million-js-on-my-react-app
Participation