随笔分类 - vue
摘要:先使用npm安装cli $ npm install -g @vue/cli 创建项目 vue create antd-demo 选择预设 ? Please pick a preset: (Use arrow keys) > preset01 ([Vue 3] babel, router, vuex,
阅读全文
摘要:vue-router的model有两种模式:hash模式和history模式,这两种模式最直观的区别就是在url中 hash 带了一个很丑的 # 而history是没有#的 mode:"hash"; mode:"history"; hash模式和history模式的不同 对于vue这类渐进式前端开发
阅读全文