Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bobbykim89/manguito-component-library

Manguito Component library is a component library based on Vue 3 and Tailwind CSS
https://github.com/bobbykim89/manguito-component-library

component-library lerna storybook tailwindcss vite vue3

Last synced: 19 days ago
JSON representation

Manguito Component library is a component library based on Vue 3 and Tailwind CSS

Awesome Lists containing this project

README

        



MCL Logo

# Manguito Component Library (MCL)


NPM Version
Package License
NPM Downloads


> A simple component library based on Vue 3, SASS and Tailwind CSS
> MCL uses vite as bundler

## Project Setup

### Install packages

```sh
pnpm install
```

### Run dev server

```sh
pnpm run story:dev
```

### Create new component

```sh
pnpm run package:create
```

### Commit changes

```sh
git add . --or-- git add
pnpm commit
git push
```

## Installation

```sh
pnpm i -D tailwindcss postcss autoprefixer sass
pnpm i @bobbykim/manguito-theme
npx tailwindcss init -p
```

tailwind.config.js

```js
const { mclTheme } = require('@bobbykim/mcl-theme')
module.exports = {
content: [
'./src/**/*.{vue,ts,js,cjs}',
'./node_modules/@bobbykim/**/*.{vue,ts,js,cjs}',
],
plugins: [mclTheme()],
}
```

## Usage

in your-file.vue

```vue

import {ComponentName} from '@bobbykim/<PackageName>'
...

...

...

```

## Dependencies

### Components

> Vue
> Vite
> SASS
> Typescript
> Tailwind CSS (tailwindcss, autoprefixer, postcss)
> @vitejs/plugin-vue
> vue-tsc
> @vueuse/core

### Story Page

> Storybook
> @storybook/vue3

### Package management

> Lerna
> pnpm workspace

## License

[MIT](http://opensource.org/licenses/MIT)