@aayush420/vuewind 中文文档教程
Vuewind - Just another component library using Vue & Tailwindcss
Installation
- The npm package can be installed using
npm i @aayush420/vuewind
oryarn add @aayush420/vuewind
if you are using yarn. - 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'
- The components can be imported into individual components like this -
Usage
导入组件后,可以像这样在组件内部直接调用它们 -
Vuewind - Just another component library using Vue & Tailwindcss
Installation
- The npm package can be installed using
npm i @aayush420/vuewind
oryarn add @aayush420/vuewind
if you are using yarn. - 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'
- The components can be imported into individual components like this -
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" />