You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is no way to import the components (types) from Equal-Vue?
Named imports
Also there seem to be some kind of problem with the type declarations. Vs Code does not understand that the 'equal-vue' module has named exports. The documentation explains that one can import components individually like so: import { Switch, Alert, etc.. } from 'equal-vue'
and then register them to the vue app. This does work. But. There are no hints from the editor what are the named exports:
Expected Behavior
See what are the named exports
A way to get intellisense/typings for the components used in a project
Steps To Reproduce
Create a new vite vue project
Follow the installation instructions for equal-ui
See that there are no named exports
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Environment
Current Behavior
Intellisense/automcomplete?
The recommended way (as far as I can tell) to get intellisense in VS code with Volar is to add ambient declarations to the "@vue/runtime" module:
It seems there is no way to import the components (types) from Equal-Vue?
Named imports
Also there seem to be some kind of problem with the type declarations. Vs Code does not understand that the 'equal-vue' module has named exports. The documentation explains that one can import components individually like so:
import { Switch, Alert, etc.. } from 'equal-vue'
and then register them to the vue app. This does work. But. There are no hints from the editor what are the named exports:
Expected Behavior
See what are the named exports
A way to get intellisense/typings for the components used in a project
Steps To Reproduce
Anything else?
No response
The text was updated successfully, but these errors were encountered: