Answer the question
In order to leave comments, you need to log in
Is it possible to automatically import components from the library?
Hello.
I've had enough of messing around with
import { Panel, ListItem, Button, Group, Div, Avatar, PanelHeader } from '@vkontakte/vkui';
Answer the question
In order to leave comments, you need to log in
Yes.
Write the name of the class/component, press the "auto-import" button on it, and it will add them by itself.
There are in Webstorm and VSCode, as in others - I don't know.
In typescript it works especially well, in pure JS - I haven't looked at it for a long time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question