Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ethercap/ledap-vue-bootstrap
https://github.com/ethercap/ledap-vue-bootstrap
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ethercap/ledap-vue-bootstrap
- Owner: ethercap
- Created: 2020-05-19T08:45:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T08:58:44.000Z (about 2 years ago)
- Last Synced: 2024-04-24T19:24:12.755Z (9 months ago)
- Language: JavaScript
- Size: 2.35 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ledap-vue-bootstrap
ledap-vue-bootstrap 是服务于 ledap 的一个适用于 Vue 生态的 bootstrap 风格的主题。## 安装
```bash
npm install ledap-vue-bootstrap -D
```
需要在 ledap 中使用,并且依赖 bootstrap 和 bootstrap-vue
```bash
npm install ledap bootstrap bootstrap-vue -D
```## 使用
```javascript
// 引入 Vue
import Vue from 'vue';
// 引入 ledap
import * as ledap from 'ledap';// 引入 bootstrap-vue
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue';
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
Vue.use(BootstrapVue);
Vue.use(IconsPlugin);// 引入 ledap-vue-bootstrap 主题
import ledapVueBootstrap from 'ledap-vue-bootstrap';
import 'ledap-vue-bootstrap/lib/ledap-vue-bootstrap.css';
ledap.App.config({
themeConfig: ledapVueBootstrap
});
ledap.App.register(Object.keys(ledap.App.getTheme().components), Vue);
```## 文档
[文档](http://zhiyuancap.com/ledap.org/)