<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## 安裝Element UI Element UI 餓了嗎團隊開發 ``` npm i element-ui -S ``` ## 在項目中引入 element-ui 自動產生的main.js內容如下: ``` import Vue from 'vue' import App from './App.vue' Vue.config.productionTip = false new Vue({ render: h => h(App), }).$mount('#app') ``` 添加Element UI, ``` import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.use(ElementUI) ``` ## 使用Element UI 的組件 打開 src\components\HelloWorld.vue,增加以下代碼 ``` <button>HTML普通按鈕</button> <br> <el-button>這是一個Element UI的按鈕</el-button> ``` Vue除了體現在創建的整體框架外,對于按鈕的顯示,可以分離視圖和數據。 1. 在HelloWorld.vue中添加按鈕, 按鈕的顯示使用變量的方式 ``` <button>{{ buttonMessage }}</button> ``` 2. 設置變量的值 ``` <HelloWorld msg="Welcome to Your Vue.js App" buttonMessage="Vue處理顯示消息的按鈕"/> ``` ## * Vue 是Web的框架,這里的框架就是正真的框架, 類似MVC框架。并不包含頁面樣式 * Element UI 是基于Vue框架的組件庫,包含了很多美觀、現成的組件, 拿來就可以使用,不需要在編寫CSS。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看