摘要:
1.安装图标库: cnpm i -D font-awesome 2.启动项目: yarn serve 3.在main.js导入图标库: import 'font-awesome/css/font-awesome.min.css' 4.在组件中使用: 图库地址: https://fontawesome 阅读全文
posted @ 2022-11-21 13:23
Cherishe
阅读(72)
评论(0)
推荐(0)
摘要:
scss的安装和使用: 1.安装: cnpm i sass-loader@7 node-sass@4 -S 2.使用: less的安装和使用: 1.安装: cnpm i less@3 less-loader@7 -S 2.使用: 运行: npm run serve/dev yarn serve/de 阅读全文
posted @ 2022-11-21 13:12
Cherishe
阅读(39)
评论(0)
推荐(0)
摘要:
全局配置: 1.导入: main.js全局引入element-ui: import ElementUI from "element-ui" 2.注册: 使用Vue注册element-ui: Vue.use(ElementUI) 3.使用:(任何组件中使用element-ui组件) 按钮 el-but 阅读全文
posted @ 2022-11-21 12:57
Cherishe
阅读(1155)
评论(0)
推荐(0)
摘要:
npm i webpack -g # 安装webpack npm i vue-cli -g # 安装脚手架 vue init webpack demo # 创建项目 全局安装 vue-cli 和项目创建 npm install -g @vue/cli # 用npm安装脚手架 or yarn glob 阅读全文
posted @ 2022-11-21 12:31
Cherishe
阅读(160)
评论(0)
推荐(0)
摘要:
设置需要关闭代理 容器组件-view的使用 做布局 app.json中直接创建文件 <view></view>: 容器组件 html标签无法解析:不认识标签,没写 创建文件: pages/second/second view 类似(html的div) <!--点击事件--> <!-- 指定按下去的样 阅读全文
posted @ 2022-11-21 11:44
Cherishe
阅读(158)
评论(0)
推荐(0)
摘要:
不使用云服务 JS基础模板 模拟器:模拟手机环境(用的多) 预览(真机查看):手机扫描看效果(用的少) page/index/index.wxml 阅读全文
posted @ 2022-11-21 10:51
Cherishe
阅读(66)
评论(0)
推荐(0)
摘要:
单词: WeixinJSBridge(微信JS桥梁) invoke(调用) imagePreview(图片预览) current(当前图片路径) urls(所有图片url列表) function(功能) res(响应回来的结果) 概念: 使用 WeixinJSBridge 预览图片 使用: Weix 阅读全文
posted @ 2022-11-21 09:58
Cherishe
阅读(317)
评论(0)
推荐(0)
摘要:
https://www.wolai.com/fzWKLLPCvDxRwAfTWKeXeR 阅读全文
posted @ 2022-11-21 09:33
Cherishe
阅读(27)
评论(0)
推荐(0)
摘要:
注册: https://mp.weixin.qq.com/cgi-bin/wx?token=&lang=zh_CN https://mp.weixin.qq.com/ 开发工具: https://developers.weixin.qq.com/miniprogram/dev/devtools/st 阅读全文
posted @ 2022-11-21 09:31
Cherishe
阅读(81)
评论(0)
推荐(0)
摘要:
原生小程序开发 uniapp开发(写一套代码,生成多套程序:移动app,网页,...) 微信小程序开发模式:独立开发 建议: 自己独立敲 多看文档 特点: 体积小,轻便,使用方便,下载(需要下载),它依赖于微信平台 目前常见的小程序有: 粤康码 核酸码 ... 移动app: 需要下载,需要安装 能提 阅读全文
posted @ 2022-11-21 09:23
Cherishe
阅读(34)
评论(0)
推荐(0)

浙公网安备 33010602011771号