Skip to content

zb81/weapp-launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weapp Launcher

Kapture 2023-07-24 at 23.53.50

  1. install
# pnpm
pnpm add weapp-launcher -D

# npm
npm install weapp-launcher -D

# yarn
yarn add weapp-launcher -D
  1. set scripts
{
  "scripts": {
    // ...
    "dev": "weapp-launcher"
    // ...
  }
}
  1. run
# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

weapp-launcher.config.json will be generated and saved in cwd on the first run.

{
  "script": "dev",
  "devtoolPath": "/Applications/wechatwebdevtools.app"
}

Wechat Devtool will launch automatically when the build completed.

📢 The developer tools' path CANNOT contain spaces!!!

About

Launch dist that generated by Taro or Uniapp in Wechat Devtool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published