New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-veui

Package Overview
Dependencies
Maintainers
0
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-veui

Import VEUI components with ease.

  • 2.17.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
82
increased by9.33%
Maintainers
0
Weekly downloads
 
Created
Source

babel-plugin-veui

This Babel plugin enables you to write simpler import statements by converting such statements:

import { Button, Input } from 'veui'

...into:

import Button from 'veui/components/Button'
import Input from 'veui/components/Input'

...just like babel-plugin-lodash does.

You can also use the following prefixed version to make it easier to register components using object property shorthand:

import { VeuiButton, VeuiInput } from 'veui'

export default {
  components: {
    VeuiButton,
    VeuiIcon
  }
}

...or...

import { VButton, VInput } from 'veui'

export default {
  components: {
    VButton,
    VIcon
  }
}

So you can use <veui-button> or <v-button> in templates.

Keywords

FAQs

Package last updated on 12 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc