Using Vue DevTools script could be very dangerous #3198
Replies: 2 comments 1 reply
-
@davidhemphill Any progress with it? I'm used I think it's not so complicated to provide |
Beta Was this translation helpful? Give feedback.
0 replies
-
We use Yarn when building Nova, so I'd recommend using that to get the dependencies from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To follow this script https://nova.laravel.com/docs/3.0/customization/frontend.html#vue-devtools could be very dangerous.
npm install
installs the latest version oflaravel/nova-js
that probably is not the version included in the already-compiled bundleI think you should use a fixed version in package.json or commit the package-json.lock (or yarn.lock) file in order to download the very same version used for building bundle.
In my situation I had some bugs when using dev build (because downloaded nova-js was an higher version)
Beta Was this translation helpful? Give feedback.
All reactions