
vue
文章平均质量分 51
前端下vue内容分享
CTRA王大大
一枚码农,坚持coding
展开
-
vue前端:谷粒商城 gulimall vue模版代码
{ "生成vue模板": { "prefix": "vue", "body": [ "<!-- $1 -->", "<template>", "<div class='$2'>$5</div>", "</template>", "", "<script>", "//这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)", "//例如:impor原创 2021-02-21 16:50:36 · 571 阅读 · 0 评论 -
Vue 给引入组件初始化传值 《场景:renren-fast-vue向弹出框初始化值》
场景:renren-fast-vue向弹出框初始化值1、生成的文件结构2、问题原因2.1、list文件:xxx.vue 全部代码2.2、addOrUpdate文件:xxxaddOrUpdate.vue 全部代码3、解决方案3.1、 在xxx.vue 初始化3.2、 在xxx.vue 给子组件赋值3.3、 在 xxxaddOrUpdate.vue 子组件中赋值3.4、 xxxaddOrUpdate.vue 中给下拉框赋值4、成功效果前提:在使用renren-fast开源项目时,自动生成的项目可以直接生成可原创 2021-01-31 18:10:33 · 1698 阅读 · 5 评论 -
vue自定义模版(用户片段)
添加到vscode的位置代码如下{ // Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible vari原创 2020-11-08 14:18:39 · 198 阅读 · 0 评论 -
renren-fast-vue 使用upload子组件 无法显示预览问题
singleUpload.vue 文件<template> <div> <el-upload action="http://gulimall-ctra.oss-cn-beijing.aliyuncs.com" :data="dataObj" list-type="picture" :multiple="false" :show-file-list="showFileList" :file-li原创 2020-09-08 22:42:20 · 473 阅读 · 0 评论 -
mac下 vue 2.x 版本升级到 vue 4.x版本 (vue版本升级)
1. 为什么 vue 要升级到 3.x 以上版本?这里关于一篇 vue 实战教程 :https://www.bilibili.com/video/BV1EE411B7SU?t=111&p=5如果vue 版本为 2.x 时,无法使用 vue ui 指令生成下面为 vue 3.x 以上版本才能执行,并且显示的 UI 页面效果2. 如果当前mac系统下的 vue 版本为2.x...原创 2020-04-30 22:25:44 · 1169 阅读 · 2 评论