项目作者: pablovieiras

项目描述 :
VS Code Extension for Vi-Ui
高级语言:
项目地址: git://github.com/pablovieiras/viui-vscode.git
创建时间: 2019-04-21T19:14:58Z
项目社区:https://github.com/pablovieiras/viui-vscode

开源协议:

下载





Vi-Ui


viui-vscode


A Visual Code Extension for Vi-Ui


Intro
How To Install
How To Use
Future Ideas
Releases
License

Intro

Vi-Ui is a simple but consistent user interface for Vue and viui-vscode extension provides snippets and autocomplete to use with Visual Code.

screenshot

How To Install

Just search for viui-vscode in VS Code Extensions section or go to Visual Studio Market Place or install it with the following command:

  1. ext install pablovieiras.viui-vscode

How To Use

It’s very simple to use this extension. All you need to do is type vi-{component-name} to get all options for that component.

Snippet

If you want to add some Vi-Ui component just type:

  1. vi-{component-name}

For example, if you need a tooltip, type vi-tooltip and you’ll get the full component:

  1. <vi-tooltip top hover mini content="message">
  2. <span>Hover Me</span>
  3. </vi-tooltip>

You can list all props, events or slots of a component:

  1. vi-{component-name}-props
  2. vi-{component-name}-events
  3. vi-{component-name}-slots

Future Ideas

  • Add component docs when hover it
  • Syntax highlighting

Release Notes

0.0.1

Initial release of viui-vscode


License

MIT

Thanks!