You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wubin d47ee57b3c
'commit'
11 months ago
..
.vscode
config
src 'commit' 11 months ago
.eslintignore
.eslintrc.js
.gitignore
.prettierignore
.prettierrc.js
README.md
global.d.ts
package-lock.json
package.json
project.config.json
project.private.config.json
rzyc.code-workspace
tsconfig.json
yarn.lock

README.md

rzyc-weapp

微信小程序

编译命令

# yarn
$ yarn dev:weapp
$ yarn build:weapp

# npm script
$ npm run dev:weapp
$ npm run build:weapp

# 仅限全局安装
$ taro build --type weapp --watch
$ taro build --type weapp

# npx 用户也可以使用
$ npx taro build --type weapp --watch
$ npx taro build --type weapp

# watch 同时开启压缩
$ set NODE_ENV=production && taro build --type weapp --watch # CMD
$ NODE_ENV=production taro build --type weapp --watch # Bash

小程序开发者工具

下载并打开微信开发者工具,然后选择项目根目录进行预览。

需要注意开发者工具的项目设置:

  • 需要设置关闭 ES6 转 ES5 功能,开启可能报错
  • 需要设置关闭上传代码时样式自动补全,开启可能报错
  • 需要设置关闭代码压缩上传,开启可能报错

描述

ylt-main 驿莱特主分支