Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

msaied's avatar
Level 10

Unresolved variable or type | PHPStorm

Hello I am facing a problem with vueJs on the PHP storm as shown on this screen

Unresolved variable or type

Anyone can help me to fix this problem?

0 likes
1 reply
msaied's avatar
msaied
OP
Best Answer
Level 10

it's working now by changing the script to

    const { createApp } = Vue;

    createApp({
        data() {
            return {
                fullName: "Hello Vue!",
            };
        },
    }).mount("#app");

I don't know why! but it works, for now, anyone can explain?

Please or to participate in this conversation.