@aayush420/vuewind 中文文档教程

发布于 3年前 浏览 27 更新于 3年前

Vuewind - Just another component library using Vue & Tailwindcss

Installation

  1. The npm package can be installed using npm i @aayush420/vuewind or yarn add @aayush420/vuewind if you are using yarn.
  2. Once the package is installed, the components and styles are to be imported.
    • The components can be imported into individual components like this - import { VButton } from '@aayush420/vuewind'
    • The styles can be imported globally in your index.css like this - @import '../node_modules/@aayush420/vuewind/dist/style.css'

Usage

导入组件后,可以像这样在组件内部直接调用它们 -

Vuewind - Just another component library using Vue & Tailwindcss

Installation

  1. The npm package can be installed using npm i @aayush420/vuewind or yarn add @aayush420/vuewind if you are using yarn.
  2. Once the package is installed, the components and styles are to be imported.
    • The components can be imported into individual components like this - import { VButton } from '@aayush420/vuewind'
    • The styles can be imported globally in your index.css like this - @import '../node_modules/@aayush420/vuewind/dist/style.css'

Usage

Once the components are imported, tey can directly be invoked inside your components like this - <VButton v-text="'Hello123'" @click="some_func" class="extra-classes-if-needed" />

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文