1 Star 2 Fork 0

WeiziUltra / wechat-vant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

微信小程序

  • tips:文档持续更新中。。。

UI框架

  • Vant Weapp
  • 默认已经引入,变更版本请在 package.json 文件中变更

使用

  1. 微信小程序开发工具导入项目 项目跟路径运行 npm install
  2. 开发工具 工具 -> 构建 npm
  3. 开发工具 右边 详情 -> 本地设置 -> 使用npm模块不检验合法域名

说明

  • utils/config.js: 存放全局配置
  • utils/util.js: 封装的方法

扩展

  • less插件
  1. 下载 Easy less插件
  2. 微信开发者工具
    • 设置 > 扩展 > 编译器自定义扩展
    • 打开扩展文件夹把解压后的文件复制到文件夹内
  3. 微信开发者工具
    • 设置 > 编辑器 > 更多及工作区的编辑器设置
    • 搜索 Easy LESS
    • 点击 在 settings.json 编辑,保存即可
          "less.compile": {
              "outExt":".wxss"
          }
  4. 新建 less文件 (例如: index.less ) 保存后自动生成/更新 wxss 文件
  5. 后期只需编写 less 文件 !!!
MIT License Copyright (c) 2021 WeiziPlus Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

微信小程序脚手架,使用vant组件 展开 收起
JavaScript 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/WeiziPlus/wechat-vant.git
git@gitee.com:WeiziPlus/wechat-vant.git
WeiziPlus
wechat-vant
wechat-vant
main

搜索帮助