Need help using venia-ui and peregrine on a project with Vite bundler #4291
Unanswered
Javimtib92
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to install
venia-uiandperegrineinto a project that bundles usingvite.The first thing I did is to wrap the app with the
Adaptercomponent to try out if it could work.We ran into problems trying to import the react components as they are defined in
jsfiles so we had to setup a loader to loadjsfiles asjsx. Then we encountered another problem with some imports. See the following image:The problem is that this imports are trying to import files that are named with extensions
ce.jsoree.jsand vite is not resolving those files.Am I trying to do something impossible? Are these packages only working with the custom webpack setup generated by the CLI create project command?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions