@vanilla-pdmfc/components
3,670
| Install | |
|---|---|
npm install @vanilla-pdmfc/components |
|
| Latest Version: | 1.2.4 |
| Vue: | 3 |
| Last Updated: | May 13, 2024 |
| Links: | npm |
Maintainer: dayana-sog
Vanilla Grid
Vanilla Grid is a flexible and customizable grid system for Vue.js applications. It provides a rich set of UI components to help you create responsive layouts easily.
Download
Vanilla Grid is available at npm.
Getting started
# Using npm
npm install @vanilla-pdmfc/components
# Using yarn
yarn add @vanilla-pdmfc/components
# Using pnpm
pnpm add @vanilla-pdmfc/components
After installing the component, make sure you have Tailwind CSS and configurations added to your project. Then run the following command:
npx safelist
This command will add a necessary safe list to your tailwind.config
Documentation
For detailed usage and examples, head to the Vanilla Grid Documentation.
Usage
Here's a simple example of how to use Vanilla Grid:
<template>
<Grid grid columns="3" :spacing='2'>
<Item :colSpan='1'>
<slot />
</Item>
<Item :colSpan='2'>
<slot />
</Item>
<Item :colSpan='2'>
<slot />
</Item>
<Item :colSpan='1'>
<slot />
</Item>
</Grid>
</template>
<script>
import { Grid, Item} from '@vanilla-pdmfc/components'
</script>
This example creates a simple grid layout with three columns. You can adjust the number of columns and their sizes according to your needs.
License
Copyright (c) 2015-present Razvan Stoenescu
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.4 | ^3.4.21 | ||
| 1.2.3 | ^3.4.21 | ||
| 1.2.2 | ^3.4.21 | ||
| 1.2.1 | ^3.4.21 | ||
| 1.2.0 | ^3.4.21 | ||
| 1.1.2 | ^3.4.21 | ||
| 1.1.1 | ^3.4.21 | ||
| 1.1.0 | ^3.4.21 | ||
| 1.0.15 | ^3.4.21 | ||
| 1.0.14 | ^3.4.21 | ||
| 1.0.13 | ^3.4.21 | ||
| 1.0.12 | ^3.4.21 | ||
| 1.0.11 | ^3.4.21 | ||
| 1.0.10 | ^3.4.21 | ||
| 1.0.9 | ^3.4.21 | ||
| 1.0.8 | ^3.4.21 | ||
| 1.0.7 | ^3.4.21 | ||
| 1.0.6 | ^3.4.21 | ||
| 1.0.5 | ^3.4.21 | ||
| 1.0.4 | ^3.4.21 | ||
| 1.0.3 | ^3.4.21 | ||
| 1.0.2 | ^3.4.21 | ||
| 1.0.1 | ^3.4.21 | ||
| 1.0.0 | ^3.4.21 |