0.0.26 • Published 3 years ago

@cifrum/vuewind v0.0.26

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
3 years ago

⚠️ The package is in the early stages of development and is not ready for use in production!

Quick start

!!! You need Vue.js version 3.2+. (Vue 2 is not supported) !!! You need TailwindCSS version 3.0+.

1. Install VueWind via:

NPM

npm install @cifrum/vuewind

or

Yarn

yarn add @cifrum/vuewind

2. Import and use VueWind

Vue JS Plugin

Nuxt
import VueWind from '@cifrum/vuewind'

export default defineNuxtPlugin((nuxtApp) => {
   nuxtApp.vueApp.use(VueWind)
})
Clear Vue
import { createApp } from 'vue'
import Root from './App.vue'
import VueWind from '@cifrum/vuewind'

const app = createApp(Root)

app.use(VueWind)
app.mount('#app')

SCSS

// Set your custom configs
$icon-sizes: (
  'xs': 12,
  'sm': 16,
  'md': 24,
  'lg': 36,
  'xl': 40
);

// Import VueWind styles
@import "~@cifrum/vuewind/src/styles";

3. Add VueWind to content tailwind.config.js:

module.exports = {
    content: [
        //...
        './node_modules/@cifrum/vuewind/src/**/*.{js,vue,ts}',
    ],
    //...
}
0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.10

3 years ago

0.0.1-alpha.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago