Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Create build script for CSS packaging
Browse files Browse the repository at this point in the history
We can now distribute TailwindCSS + UI base via CSS in addition to distributing via tailwind plugin.
  • Loading branch information
jmar910 committed Nov 8, 2020
1 parent 3d5e6fe commit b07682c
Show file tree
Hide file tree
Showing 6 changed files with 46,980 additions and 5 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Meroxa UI Base
# Meroxa UI Base

A [TailwindCSS](https://tailwindcss.com) plugin that provides Meroxa's base UI configuration

## Installation
Expand All @@ -9,7 +10,7 @@ Make sure you have [TailwindCSS](https://tailwindcss.com) installed in your proj
yarn add ssh:/meroxa/ui-base#master
```

### Plug In 🔌
### Plug It In 🔌
In your project, in your `tailwind.config.js`:
```js
module.exports = {
Expand All @@ -18,5 +19,26 @@ module.exports = {
require('@meroxa/ui-base')
]
}
```

Alternatively, you could just pull `dist/css/ui-base.css` or `dist/css/ui-base.min.css` into your project. Note that this will include Tailwind with it.

## Development

### Plugin Development
Link from this project's directory
```
yarn link
```

Then within whatever project you want to pull the package into
```
yarn link "@meroxa/ui-base"
```

```
### Building
If you just want to build the CSS
```
yarn run build
```
CSS will be outputted to `dist/css`
Loading

0 comments on commit b07682c

Please sign in to comment.