Hi, I'm making a component library on Vue v.2.7.14 + Vite v.4.1.4 everything works, except for the prompts in the IDE where I'm using an already compiled package. Screenshot 1 shows how one of my library components is defined in the project where I use it. Below it shows the whole configuration of the library. It feels like Rollup is doing something wrong. As a result IDE doesn't understand that it has a Vue component in front of it.
I would be very grateful for help in solving this problem, maybe I'm doing something wrong.
Hi, I'm making a component library on Vue v.2.7.14 + Vite v.4.1.4 everything works, except for the prompts in the IDE where I'm using an already compiled package. Screenshot 1 shows how one of my library components is defined in the project where I use it. Below it shows the whole configuration of the library. It feels like Rollup is doing something wrong. As a result IDE doesn't understand that it has a Vue component in front of it. I would be very grateful for help in solving this problem, maybe I'm doing something wrong.
vite.config.js
./src/components/SButton/index.js
./src/index.js
./package.json