![](https://img-blog.csdnimg.cn/20210329095619586.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Vue
文章平均质量分 51
The Progressive JavaScript Framework
AnyaPapa
这个作者很懒,什么都没留下…
展开
-
Vue.js - 入门
简介vuejs教程https://cn.vuejs.org/v2/guide/vuejsAPIhttps://cn.vuejs.org/v2/api/vuejs风格指南https://cn.vuejs.org/v2/style-guide/核心插件vuejsVue RouterAPI 参考https://router.vuejs.org/zh/api/#router-linkvuejsVuexAPI 参考https://vuex.vuejs.org/...原创 2021-03-29 11:12:44 · 92 阅读 · 0 评论 -
Vue:Vue 3.4 新特性
Vue 3.4 引入了自定义渲染器 API,允许开发者用自定义的方式渲染 Vue 组件,这为开发者提供了更高的灵活性和扩展性。Vue 3.4 是一个全面的更新,它在多个方面增强了 Vue 的能力,提高了开发效率和用户体验,是值得开发者关注和升级的版本。原创 2024-01-02 16:14:44 · 1121 阅读 · 0 评论 -
Vue.js - 界面设计工具和UI组件库
View UI Plus是一款基于Vue.js 3的企业级中后台UI组件库,它主要提供了一套丰富的组件,用于帮助开发人员更高效地完成界面设计和开发工作。总的来说,View UI Plus和类似的产品都是强大的UI组件库,能够帮助开发人员提高设计效率,实现界面设计和开发的自动化。总的来说,ViewDesign和类似的产品都是强大的界面设计工具,能够帮助设计师和开发人员提高设计效率,实现界面设计和开发的自动化。这些产品也提供了可视化的界面设计功能,具有丰富的设计元素和组件,支持在线协作,可以满足各种设计需求。原创 2023-12-09 21:14:00 · 671 阅读 · 0 评论 -
Vue.js - 代码规范
一、UI框架及css预处理器选择1、PC端Vue项目UI框架:ElementUI(优先)、iView2、移动端Vue项目UI框架:mint-ui(优先)、vant3、sass/scss、less、stylus ?????推荐less:less相对比sass更简洁,而stylus的语法灵活性开放性过大,不利于团队协作开发。二、脚手架、插件选择2.1、脚手架vue-cli2.0 OR vue-cli3.0推荐vue-cli2.0:团队中熟悉2.0版本脚手架的人居多,脚手架是一个工具类的存在。转载 2021-04-21 15:58:21 · 417 阅读 · 0 评论 -
Vue.js - VSCode(Visual Studio Code) 插件
插件Vue代码提示插件Vue 2 SnippetsVue中的代码高亮插件Vetur快捷键新建Vue模板https://blog.csdn.net/weixin_37263797/article/details/104514203Vue自动格式化代码https://blog.csdn.net/damishidai15/article/details/102560247创建VUE文件,自动添加注释https://blog.csdn.net/qq_34527715/arti原创 2021-04-21 15:37:49 · 156 阅读 · 0 评论 -
Vue.js - axios 拦截器的使用
axiosGitHub地址: https://github.com/axios/axios中文网:http://www.axios-js.com/zh-cn/docs/拦截器在请求或响应被then或catch处理前拦截它们。// 添加请求拦截器axios.interceptors.request.use(function (config) { // 在发送请求之前做些什么 return config; }, function (error) { /...原创 2021-04-02 09:53:57 · 246 阅读 · 0 评论 -
Vue.js - lru-cache
高速缓存安装npminstalllru-cache--save使用var LRU = require("lru-cache") , options = { max: 500 , length: function (n, key) { return n * 2 + key.length } , dispose: function (key, n) { n.close() } , maxAge: 10...原创 2021-04-01 17:09:28 · 971 阅读 · 0 评论 -
Vue.js - Vue Loader - Using Pre-Processors
使用预处理器在 webpack 中,所有的预处理器需要匹配对应的 loader。Vue Loader 允许你使用其它 webpack loader 处理 Vue 组件的某一部分。它会根据lang特性以及你 webpack 配置中的规则自动推断出要使用的 loader。Sass例如,为了通过 Sass/SCSS 编译我们的<style>标签:npm install -D sass-loader node-sass在你的 webpack 配置中:module.e...原创 2021-04-01 15:20:29 · 197 阅读 · 0 评论 -
Vue.js - Event Modifiers
Vue.js事件处理事件修饰符调用event.preventDefault()或event.stopPropagation()在事件处理程序内部是非常普遍的需求。尽管我们可以轻松地在方法内部完成此操作,但最好是这些方法可以纯粹与数据逻辑有关,而不是必须处理DOM事件详细信息。为了解决这个问题,Vue公司提供事件修饰符的v-on。回想一下修饰符是用点表示的指令后缀。.stop .prevent .capture .self .once .passive<!-- the.原创 2021-04-01 13:40:44 · 274 阅读 · 0 评论 -
Vue.js - vue-awesome-swiper
vue-awesome-swiper使用(韩文)https://negabaro.github.io/archive/vue-awesome-swiper参数(韩文)https://negabaro.github.io/archive/vue-awesome-swiper-option参考(中文)https://blog.csdn.net/dwb123456123456/article/details/82701740...原创 2021-04-01 13:04:35 · 120 阅读 · 0 评论 -
Vue.js - Swiper(组件)
SwiperSwiper Vue.js组件仅与新的Vue.js版本3兼容安装Swiper Vue.js插件仅可通过NPM作为Swiper主库的一部分使用: npm i swiper用法swiper/vue导出2个组件:Swiper和SwiperSlide:<template> <swiper :slides-per-view="3" :space-between="50" @swiper="onSwiper" @sli翻译 2021-04-01 12:35:24 · 1811 阅读 · 0 评论 -
Vue.js - Vuex mapActions(Actions)
mapActionsDispatching Actions in ComponentsYou can dispatch actions in components withthis.$store.dispatch('xxx'), or use themapActionshelper which maps component methods tostore.dispatchcalls (requires rootstoreinjection):在组件中分发 Action你在组件中...原创 2021-04-01 10:45:57 · 232 阅读 · 0 评论 -
Vue.js - Vuex mapState(State)
Object Spread OperatorNote thatmapStatereturns an object. How do we use it in combination with other local computed properties? Normally, we'd have to use a utility to merge multiple objects into one so that we can pass the final object tocomputed. Ho...原创 2021-04-01 10:21:13 · 151 阅读 · 0 评论