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

https://github.com/acehubert/ace-hugo

Hugo React Components
https://github.com/acehubert/ace-hugo

Last synced: 5 months ago
JSON representation

Hugo React Components

Awesome Lists containing this project

README

          

## Hugo React UI

A react component framework project, **[Live Demo](http://hugo.acehubert.com)**

## Getting Started

### Install

```bash
npm install acehugo --save
or
yarn add acehugo
```

Before the building, you need a style theme.
```
import 'acehugo/dist/theme/index.css'
```
or you want to change the main-theme (if you are using SCSS in your project).

#### acehugo-variables.scss
```js
/* change the main-theme */
$color-primary:teal;

/* change font folder(important) */
$icon-path:'~acehugo/dist/theme/fonts'

@import '~acehugo/src/theme/index.scss'
```

> more variables, please check [here](http://hugo.acehubert.com/#en-US/variables)

#### App.jsx
```js
import 'acehugo-variables.scss'
```

## Usage

we recommend you writing code in modern javascript.

```js
import {Button} from 'acehugo'
```

## License

[MIT](https://choosealicense.com/licenses/mit/)