企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
* 安装iview ~~~  npm install view-design --save --registry=https://registry.npm.taobao.org ~~~ * 在main.js引入iview ~~~  import Vue from "vue";  import App from "./App.vue";  import router from "./router";  import store from "./store";  ​  import ViewUI from 'view-design';  import 'view-design/dist/styles/iview.css';  Vue.use(ViewUI);  ​  Vue.config.productionTip = false;  ​  new Vue({    router,    store,    render: h => h(App)  }).$mount("#app");  ​ ~~~ * 在Home组件测试iview是否引入成功 ~~~  <Button type="primary">Primary</Button>  <Button type="dashed">Dashed</Button> ~~~ ![](https://img.kancloud.cn/48/5c/485c64da3b931caaeb31fd35e121972b_2610x1508.png)