vx-vue

1.0.6 • Public • Published

vxVue

Introduction

VxVue provides a handful of reusable Vue components styled with Tailwind CSS. All components are geared towards simplicity leaving room for customizations, extensions or adaptations. At some point a more verbose documentation than this brief readme might emerge.

Requirements

  • Vue.js 3.5+
  • Tailwind CSS 3.4+

The official Tailwind CSS forms plugin is used to provide basic styling of the form components using the class strategy which allows the styling of non-form elements consistently. An easy to configure color theming is applied. vxvue and vxvue-alt are used as the two colors scales. Since Tailwind won't observe classes in imported components tailwind.config.js should also list the node package in the content array.

module.exports = {
    content: [
        './node_modules/vx-vue/**/*.js',
        ...
    ],
    theme: {
        extend: {
            colors: {
                'vxvue': {
                    DEFAULT: ...,
                    '50': ...,
                    ...
                    '900': ...
                },
                'vxvue-alt': {
                    ...                
                }
            }
        }
    }
}

To use the few scoped styles along with your CSS add

import 'vx-vue/vx-vue.css'

to your main.js or index.js file.

The components use an extra color palette.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.659latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.659
1.0.58
1.0.41
1.0.30
1.0.20
1.0.00
0.9.20
0.9.10
0.9.00
0.8.30
0.8.20
0.8.00
0.7.91
0.7.70
0.7.60
0.7.50
0.7.40
0.7.30
0.7.20
0.7.10
0.7.00
0.6.50
0.6.40
0.6.30
0.6.20
0.6.10
0.6.00
0.5.10
0.5.00
0.3.00
0.1.00
0.0.20
0.0.12

Package Sidebar

Install

npm i vx-vue

Weekly Downloads

67

Version

1.0.6

License

MIT

Unpacked Size

130 kB

Total Files

6

Last publish

Collaborators

  • vectrex