Config and carousel #2059
Unanswered
AnaGiachini
asked this question in
Support from community
Replies: 2 comments
-
Hi!
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks! I was able to solve it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am requesting help for two themes, in my configuration file I had to change this plugins: [require("tw-elements-react/dist/plugin.cjs")] to plugins: [import ("tw-elements-react/dist /plugin.cjs")] because I couldn't use require. which gave me the following No declaration file found for module 'tw-elements-react/dist/plugin.cjs'. '/Users/analiagiachini/Documents/ProyectosVS/DeRaizGestoria/node_modules/tw-elements-react/dist/plugin.cjs' has an implicit type of "any".
If package 'tw-elements-react' actually exposes this module, try adding a new declaration file (.d.ts) containing 'declare module 'tw-elements-react/dist/plugin.cjs';` and when I want to use the Carousel it gives me the following error Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/tw-elements-react.js?v=82fc61a3' does not provide an export named 'TECarousel'
Beta Was this translation helpful? Give feedback.
All reactions