0.1.3 • Published 3 years ago
element-theme-robo v0.1.3
element-theme-robo
element component robo theme for baidu robo team
Installation
yarn install element-theme-robo -S
Usage
Use Sass import
@import 'element-theme-robo';
Or Use webpack
import 'element-theme-robo'
Or
<link rel="stylesheet" href="path/to/node_modules/element-theme-robo/lib/index.css">
Import on demand
import 'element-theme-robo/lib/input.css';
import 'element-theme-robo/lib/select.css';
// ...
Or with babel-plugin-component
// babel.config.js
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
plugins: [
[
"component",
{
libraryName: "element-ui",
styleLibraryName: "~node_modules/element-theme-robo/lib"
}
]
]
};