robo-ui
v0.1.4
Published
UI component and Element Theme Baidu Robox Fe Team.
Readme
RoboUI And ElementUI Theme
yarn install robo-uiUse ElementUI Theme
Use Sass import
@import 'robo-ui';Or Use webpack
import 'element-theme-robo'Or
<link rel="stylesheet" href="path/to/node_modules/element-theme-robo/lib/index.css">Import ElementUI Theme on demand
import 'robo-ui/lib/theme-robo/input.css';
import 'robo-ui/lib/theme-robo/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/robo-ui/lib/theme-robo"
}
]
]
};Use Robo UI Component
Just like use Element UI
