vue-cli-plugin-chakra-ui

1.0.3 • Public • Published

vue-cli-plugin-chakra-ui 🔥

This plugin setups Chakra UI Vue in your Vue CLI generated project.

Install Vue CLI 3 🔌

If you haven't yet installed vue-cli 3, install it like so:

npm install -g @vue/cli

or

yarn global add @vue/cli

If you still need the legacy vue init functionality, you can install a global bridge by following the instructions here

Generate a project using vue-cli 3.0:

vue create my-app

Before installing the chakra-ui plugin, make sure to commit or stash your changes in case you need to revert the changes.

Usage 😎

To install the chakra-ui plugin simply navigate to your application's folder and add chakra-ui.

vue add chakra-ui

The plugin will install @chakra-ui/vue and it's peer dependency - Emotion

As of v1.0.0, If you chose to allow automatic import of Chakra UI components from the prompt in the installation, Chakra-Loader will be installed for you.

The plugin will also touch main.js and App.vue to set up your project for consumption of Chakra UI components.

MIT © Kelvin Omereshone

Package Sidebar

Install

npm i vue-cli-plugin-chakra-ui

Weekly Downloads

124

Version

1.0.3

License

MIT

Unpacked Size

7.91 kB

Total Files

10

Last publish

Collaborators

  • dominuskelvin
  • _codebender828