Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thombruce/rockband

🎸 UI kit and utilities for Vue and Nuxt
https://github.com/thombruce/rockband

Last synced: 1 day ago
JSON representation

🎸 UI kit and utilities for Vue and Nuxt

Awesome Lists containing this project

README

        

# RockBand

## Features

RockBand is a Nuxt component library that comes with:

- [Nuxt Image](https://image.nuxtjs.org/)
- [Pug](https://pugjs.org/api/getting-started.html)
- [Tailwind CSS](https://tailwindcss.com/) + [Tailwind CSS Forms](https://github.com/tailwindlabs/tailwindcss-forms)
- [PostCSS](https://postcss.org/)
- [Font Awesome](https://fontawesome.com/)
- [Simple Icons](https://simpleicons.org/)
- [Lodash](https://lodash.com/)
- [Nuxt Taxonomies](https://github.com/thombruce/nuxt-taxonomies)

These are used to create a base set of components and plugins for my Nuxt projects.

## Installation

### Vue CLI

Add RockBand to your project and run the initializer:

```sh
vue add @rockband/ui
```

### Nuxt

Add RockBand to your project:

```sh
yarn add --dev @rockband/nuxt
```

Add RockBand to buildModules in `nuxt.config.js`:

```js
buildModules: [
'@rockband/nuxt'
]
```

## Overwrite Default Styles

Create a CSS file at `assets/css/rockband.css` and import `@rockband/vue`:

```css
@import "@rockband/vue";

/* Declare your styles or local imports here. */
```

RockBand comes with Tailwind CSS and PostCSS; you can count on both of them working for this file and its imports. And of course, you can just write plain old CSS.

You can also configure `tailwind.config.js` following their docs. Apart from the `rockband.css` file, it's just like any other Tailwind installation.

## Development

This project uses Yarn Workspaces and Lerna in development.

### Publishing

```sh
lerna build
lerna publish
```