Skip to content

Using Vue DevTools script could be very dangerous #3136

@alberto-bottarini

Description

@alberto-bottarini
  • Laravel Version: all
  • Nova Version: all
  • PHP Version: all

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 of laravel/nova-js that probably is not the version included in the already-compiled bundle

I 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions