0.0.26 • Published 2 years ago

@cifrum/vuewind v0.0.26

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 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

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.10

2 years ago

0.0.1-alpha.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago