<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          uiw-react基于 React 的 UI 組件庫

          聯(lián)合創(chuàng)作 · 2023-09-28 01:34

          高品質(zhì)的UI工具包,React 16+的組件庫。

          安裝

          npm install uiw --save

          使用

          import React from 'react';
          import ReactDOM from 'react-dom';
          import { Button } from 'uiw';
          
          ReactDOM.render(
            Hello, 
            document.getElementById('app')
          );

          瀏覽器引入

          在瀏覽器中使用 script 和 link 標(biāo)簽直接引入文件,并使用全局變量 uiw。

          我們?cè)?nbsp;npm 發(fā)布包內(nèi)的 uiw/dist 目錄下提供了 uiw.js uiw.css 以及 uiw.min.js uiw.min.css。你也可以通過 UNPKG 進(jìn)行下載。

          ?? 強(qiáng)烈不推薦使用已構(gòu)建文件,這樣無法按需加載。
          ?? 瀏覽器引入只在 uiw v2.x 以上的版本支持。

          開發(fā)

          要開發(fā),運(yùn)行自重新構(gòu)建,獲取代碼:

          $ git clone https://github.com/uiwjs/uiw.git
          $ cd uiw
          $ npm install # or  yarn install

          要開發(fā),運(yùn)行自重新構(gòu)建:

          # Run the app
          # Restart the app automatically every time code changes. 
          # Useful during development.
          $ npm start

          打開瀏覽器并訪問:http://127.0.0.1:2087

          更新文檔

          npm run deploy

          文件目錄說明

          ├── dist           # document the static file.
          ├── docs           # documentation in markdown
          ├── lib            
          ├── package.json
          ├── script
          └── src            # react source code
          瀏覽 19
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  精品福利导航 | 色哟哟免费视频一区二区三区 | 日产精品久久久久久久 | 熟女人妻精品 | 考逼视频网站 |