0.0.30 • Published 1 year ago

begda-ui v0.0.30

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

安装 BegdaUI

NPM 使用库

# 安装库
npm i begda-ui

#使用库
import BegdaUI from 'begda-ui';
import 'begda-ui/lib/theme/index.css';
Vue.use(BegdaUI);

CDN 使用库

我们建议使用 CDN 引入 Element 的用户在链接地址上锁定版本,以免将来 Element 升级时受到非兼容性更新的影响。锁定版本的方法请查看 unpkg.com。

<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/begda-ui@0.0.25/lib/theme/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/begda-ui@0.0.25/lib/index.js"></script>

Hello world

通过 CDN 的方式我们可以很容易地使用 Element 写出一个 Hello world 页面。在线演示

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <!-- import CSS -->
        <link rel="stylesheet" href="https://unpkg.com/begda-ui@0.0.25/lib/theme/index.css" />
    </head>
    <body>
        <div id="app">
            <ba-panel>面板</ba-panel>
        </div>
    </body>
    <!-- import Vue before BeggedUI-->
    <script src="https://unpkg.com/vue@2/dist/vue.js"></script>
    <!-- import JavaScript -->
    <script src="https://unpkg.com/begda-ui@0.0.25/lib/index.js"></script>

    <script>
        new Vue({
            el: '#app',
            data: function () {
                return { visible: false };
            }
        });
    </script>
</html>
0.0.30

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.15

2 years ago