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
- Host: GitHub
- URL: https://github.com/acehubert/ace-hugo
- Owner: aceHubert
- License: mit
- Created: 2018-03-15T09:48:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-07T08:29:26.000Z (over 7 years ago)
- Last Synced: 2025-02-18T16:07:52.403Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://hugo.acehubert.com/
- Size: 1.07 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)