摘要: 一、方式一: 1、在目标目录下,执行命令 vue create project_name2、注意:project_name需要替换为需要的项目名称,不可以包含中文 上面是版本,vue2、vue3,上下键选择对应的版本,回车即可。 启动项目:npm run serve 终止项目:ctrl+c 二、方式 阅读全文
posted @ 2023-05-16 15:02 快乐的汤圆酱 阅读(23) 评论(0) 推荐(0)
摘要: 1、用于快速生成Vue项目基础架构2、安装vue-cli npm install -g @vue/cli (说明:-g 代表全局安装,如果不加-g,会在当前目录安装)3、验证环境 vue --version 阅读全文
posted @ 2023-05-16 13:56 快乐的汤圆酱 阅读(18) 评论(0) 推荐(0)
摘要: 1、v-model:绑定变量,双向绑定 v-model.lazy:在事件之后同步进行 v-model.number:把用户输入的数据类型转换为数值类型 v-model.trim:去掉首尾空格 <!DOCTYPE html><html lang="en"><head> <meta charset="U 阅读全文
posted @ 2023-05-16 13:50 快乐的汤圆酱 阅读(20) 评论(0) 推荐(0)
摘要: ctrl + a ->选择所有文本。 ctrl + shift + l ->将选择内容拆分为行。 shift +“ ->双引号。 结束->将每个选择移至eol。 ,->最后的逗号。 阅读全文
posted @ 2022-10-20 11:07 快乐的汤圆酱 阅读(2125) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/m0_37678652/article/details/119750401 阅读全文
posted @ 2022-10-09 13:54 快乐的汤圆酱 阅读(25) 评论(0) 推荐(0)
摘要: 参考文档:https://blog.csdn.net/m0_51819914/article/details/117154141 比较全面,已经亲测! 阅读全文
posted @ 2022-07-15 15:25 快乐的汤圆酱 阅读(106) 评论(0) 推荐(0)
摘要: 参考文档:https://blog.csdn.net/m0_51819914/article/details/117154141 阅读全文
posted @ 2022-07-15 15:16 快乐的汤圆酱 阅读(254) 评论(0) 推荐(0)
摘要: 参考文档:https://blog.csdn.net/Issay_0220/article/details/112978371 阅读全文
posted @ 2022-07-12 18:15 快乐的汤圆酱 阅读(303) 评论(0) 推荐(0)
摘要: 参考文档:https://blog.csdn.net/xuexi_gan/article/details/114828796 注意配置文件的安装路径,已经亲测有效! 阅读全文
posted @ 2022-07-12 15:19 快乐的汤圆酱 阅读(39) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_42700109/article/details/120464161 依赖不存在,重新安装依赖即可 阅读全文
posted @ 2022-07-12 14:44 快乐的汤圆酱 阅读(392) 评论(0) 推荐(0)