An open API service indexing awesome lists of open source software.

https://github.com/codepiercer/svelte-tailwind

Collection of reusable svelte components designed with tailwind css
https://github.com/codepiercer/svelte-tailwind

Last synced: about 2 months ago
JSON representation

Collection of reusable svelte components designed with tailwind css

Awesome Lists containing this project

README

        

# Svelte Tailwind

A collection of reusable svelte components designed with tailwind css.

## Installation

```bash
npm create svelte@latest newProject
npm i -D @codepiercer/svelte-tailwind
```

- Setup

```js
// tailwind.config.cjs
module.exports {
presets: require('@codepiercer/svelte-tailwind/config.cjs')
}

// postcss.config.cjs
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}

```

## (or) Use the pre configured template

```bash
npx degit [email protected]:codepiercer/sveltekit-template.git newProject
```

## Usage

```js
// Example.svelte

import { Button } from '@codepiercer/svelte-tailwind'

Click Me
```


©
CODEPIERCER. All rights reserved.