Metro-UI-CSS
Metro-UI-CSS copied to clipboard
Metro 4 is not imported in project when using es6
Hello,
I am working on a project that uses Metro UI framework. When I want to import the library it does not work. CSS is ok. I put an example in Codepen using CDN, but I can not put the node_modules folder to show the original problem. When I call table command, it does not recognize table but it recognize metro in console. I have to use await import structure due to using self-executive function. Also, I use import 'metro4' in my project, but the problems exists there again.
https://codepen.io/vahidbabaveisi/pen/WNJRReJ
Hi! Use metro from cdn
чт, 15 сент. 2022 г. в 16:15, vahidbabaveisi @.***>:
Hello,
I am working on a project that uses Metro UI framework. When I want to import the library it does not work. CSS is ok. I put an example in Codepen using CDN, but I can not put the node_modules folder to show the original problem. When I call table command, it does not recognize table but it recognize metro in console. I have to use await import structure due to using self-executive function.
https://codepen.io/vahidbabaveisi/pen/WNJRReJ
— Reply to this email directly, view it on GitHub https://github.com/olton/Metro-UI-CSS/issues/1880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACZENEP6KUSJBUI7IFJLYLV6MOPHANCNFSM6AAAAAAQNMJYOM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
As I showed in Codepen, it does not work from CDN, I also I tested script tag which did not work
any ideas...
https://codesandbox.io/p/sandbox/metro4-vite-start-vljhzy?file=%2Fsrc%2Fmain.ts%3A1%2C1