@aistarfish/hx-taro-cli

3.0.2 • Public • Published

taro小程序-代码模板脚手架

介绍

小程序初始化模板,加入了基本组件和登录体系。

安装

npm install -g @aistarfish/hx-taro-cli / yarn global add @aistarfish/hx-taro-cli

使用

1.项目初始化

hx-taro init 项目名称
代码拉取下来后 执行yarn 编译通过即可

2.打包优化

//package.json 文件 
 "custom": {
    "url": "https://xxx",
    "url_command": "开发机地址 配置后 打包过程中会增加开发环境"
  },

//输入打包编译命令 提供环境选择
wangqideMacBook-Pro:starfish-health-applet wangqi$ yarn dev:weapp
yarn run v1.22.5
$ hx-taro dev weapp
? 请选择打包环境 (Use arrow keys)
 开发环境 https://xxx 
  线下环境 https://open.aistarfish.net 
  预发环境 https://ohappcore.pre.aistarfish.com 
  线上环境 https://open.aistarfish.com 

Readme

Keywords

none

Package Sidebar

Install

npm i @aistarfish/hx-taro-cli

Weekly Downloads

18

Version

3.0.2

License

ISC

Unpacked Size

16 kB

Total Files

10

Last publish

Collaborators

  • lw_windy
  • doin0719
  • doin
  • yunque.wly
  • chujiu
  • stuartpounds
  • fantasy123
  • wangqi_sl
  • liuhao1
  • yiyun220