Failed to import error when trying to implement External Scripts in frest React Router 7 install #430
-
|
I have a fairly vanilla install of RR7.0.1. I'd like to import an externally hosted JS file for a label printing function. I'm getting the following error after adding the needed bits to the root.tsx. This is my vite file, very "out of the box". If I had to guess it's trying to import as if I'm still using Remix 2.x instead of React Router 7? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
That's because Remix Utils still uses Remix, the migration to RRv7 is not yet published, some utils may still work on RRv7 as they may not depend on Remix but if the dependency needs |
Beta Was this translation helpful? Give feedback.
The README on the repo is the latest commit, not the latest release
Also I just released v8.0.0 which now uses RRv7.