2

I can check if the page is running angular or angular.js by checking window.ng and window.angullar.

Is there any such way to check if the page is using vue from the console, without using vue-devtools

3 Answers 3

1

Caution! This will work only if the site you're checking has Vue as global.

Open Console of your Browser and Write Vue, and after that you will see output like this. Remember that in Vue, v is in upper case ScreenShot of Console

Sign up to request clarification or add additional context in comments.

2 Comments

this may work, but isn't guaranteed at all - none of my Vue sites have Vue as a global
Also, when Vue is exposed as a global ... it don't look like that at all - but then, I don't put developer version of Vue in production
0

Look for Vue in HTML Source Code:

View the page's HTML source code and search for script tags referencing Vue.js, such as <script src="https://cdn.jsdelivr.net/npm/vue"></script>.

Comments

0

There are a couple of ways that you can try to check if the website uses Vue.js without vue-devtools

Check the page's source code

  • Look for references/library imports to Vue.js in the HTML, JS or CSS files containing vue keyword.

Inspect the DOM

  • You can search in the HTML for keywords like v-, data-v-.

Check the browser console

  • Open the browser console and check for debug messages referenced to Vue.js

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.