程序|Ant Design Vue 2.x+ 支持所有的现代浏览器。


兼容性 #
Ant Design Vue 2.x+ 支持所有的现代浏览器。
如果需要支持 IE9+,你可以使用 Ant Design Vue 1.x & Vue 2.x。
npm config set registry https://registry.npm.taobao.org
npm config get registry
vue-cli
$ npm install -g @vue/cli
# OR
$ yarn global add @vue/cli
2. 创建一个项目
使用命令行进行初始化。
$ vue create hrdemo
并配置项目。
若安装缓慢报错,可尝试用 cnpm 或别的镜像源自行安装:rm -rf node_modules && cnpm install。
$ cd hrdemo
$ yarn serve

3. 使用组件
$ npm i --save ant-design-vue@next
完整引入
import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import App from './App';
import 'ant-design-vue/dist/antd.css';
const app = createApp();
app.config.productionTip = false;
app.use(Antd);
yarn serve
yarn : 无法加载文件 C:\Users\zhj\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本
1. 搜索powershell,然后以管理员身份运行
2. 输入set-ExecutionPolicy RemoteSigned 回车 在弹出的内容后面 输入Y 然后关闭即可


http://bbs.jeecg.com/
https://www.cnblogs.com/wuhuacong/archive/2010/06/23/1763274.html
https://www.cnblogs.com/wuhuacong/p/15221679.html
https://www.cnblogs.com/wuhuacong/p/15323217.html
https://www.uviewui.com/components/intro.html
http://boot.jeecg.com/appHome
https://www.layuiweb.com/demo/layer.html
http://www.jimureport.com/
https://github.com/EbookFoundation/free-programming-books
Ant DesignVue Antd
https://animate.style/
ue-drag-resize
vue-drag-resize是一个专门用于vue项目的拖拽组件,定义元素可拖拽,或者可缩放,或者二者兼有; 可限制拖拽的最大与最小值、拖拽的范围是否超出其父元素; 并且支持触摸事件
https://kalacloud.com/blog/best-drag-drop/
Vue Draggable - Vue 拖拽组件王者
Vue drag resize - 轻量级,无依赖,可缩放
https://www.cnblogs.com/yycc11/p/9565915.html
vue拖拽组件vuedraggable
vue draggable resize
vue draggable resizable
https://github.com/umdjs/umd
https://blog.csdn.net/qq_43567345/article/details/114855520
springboot 接口接收對象
https://github.com/vuejs/vue-router/blob/dev/examples/named-routes/app.js
https://www.jb51.net/article/228549.htm
https://www.csdn.net/tags/Ntzagg4sNDIxNjMtYmxvZwO0O0OO0O0O.html
https://time.geekbang.org/course/intro/100024601?code=KHKYcoBU6vZa8nMglg7AWfDxxi3BWrz9INAzAY3umPk%3D
https://codesandbox.io/s/named-views-vue-router-4-examples-rd20l?file=/src/router.js:0-649
https://www.surely.cool/doc/dragable#columns
https://blog.51cto.com/u_15081048/2592238
https://www.jqhtml.com/64048.html
https://pro.antdv.com/
https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/v18.6.0/
兼容IE9建议使用Vue1 Vue2
https://github.com/es-shims/es5-shim
https://github.com/paulmillr/es6-shim
垫片
https://babeljs.io/docs/en/babel-polyfill/
https://babeljs.io/docs/en/babel-plugin-transform-runtime/
import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import App from './App';
import 'ant-design-vue/dist/antd.css';
import router from "./router/index"
const app = createApp(App);
app.use(router);
app.use(Antd).mount('#app');



#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 0px;
min-height:800px
}

【程序|Ant Design Vue 2.x+ 支持所有的现代浏览器。】
import { createRouter,createWebHashHistory } from "vue-router";

const routes = [
{
path:'/',
component:()=>import("../components/HelloWorld.vue")
},
{
path:'/about',
component:()=>import("../components/AdminManger.vue")
}
]

const router = createRouter({
history:createWebHashHistory('/'),
routes
})

export default router




#components-layout-demo-top-side-2 .logo {
float: left;
width: 120px;
height: 31px;
margin: 16px 24px 16px 0;
background: rgba(255, 255, 255, 0.3);
}
.ant-row-rtl #components-layout-demo-top-side-2 .logo {
float: right;
margin: 16px 0 16px 24px;
}
.site-layout-background {
background: #fff;
}




.example {
position:absolute;
top:30%;
left:50%;
transform:translateY(-50%);
transform:translateX(-50%);
z-index:9999;
text-align: center;
background: rgba(0, 0, 0, 1);
border-radius: 4px;
margin-bottom: 20px;
padding: 30px 50px;
margin: 20px 0;
}




    推荐阅读