0.0.1 • Published 7 years ago
corgi-theme v0.0.1
corgi-theme
This repo is the UI style for corgi-react.
Install
npm install corgi-theme --save
Usage
In main.js
:
import 'corgi-theme'
Also, please make sure you have correct setting for files of font icons. Add follow setting in webpack.config.js
:
module: [
loaders: {
{
test: /\.(eot|woff|ttf|svg)$/,
loader: 'file-loader'
}
}
]
Meanwhile, it supports load on demand. For example:
import '{your-path}/node_modules/corgi-theme/dist/Button.css'
import '{your-path}/node_modules/corgi-theme/dist/Checkbox.css'
Custom Compiling
You can modify files in following path: corgi-theme/src
, and use gulp (I am using gulp
and gulp-sass
which can be found in package.json
) to compile them.
License
MIT
0.0.1
7 years ago