Skip to content

idea2app/Taro-Vant-MobX-ts

Repository files navigation

Taro-Vant-MobX-ts

Taro project scaffold based on TypeScript, Preact, MobX & Vant

CI & CD

Open in GitHub Codespaces Open in Gitpod

Demo

https://idea2app.github.io/Taro-Vant-MobX-ts/

Technology stack

Extra components

  1. Range Field
  2. Area Select

Best practice

  1. Install GitHub apps in your organization or account:

    1. Probot settings: set up Issue labels & Pull Request rules
    2. PR badge: set up Online VS Code editor entries in Pull Request description
  2. Click the Use this template button on the top of this GitHub repository's home page, then create your own repository in the app-installed namespace above

  3. Click the Open in GitHub codespaces button on the top of ReadMe file, then an online VS Code development environment will be started immediately

  4. Set Vercel variables as Repository secrets, then every commit will get an independent Preview URL

  5. Recommend to add a Notification step in GitHub actions for your Team IM app

  6. Remind the PMs & users of your product to submit Feature/Enhancement requests or Bug reports with Issue forms instead of IM messages or Mobile Phone calls

  7. Collect all these issues into Project kanbans, then create Pull requests & add closes #issue_number into its description for automation

Development

Install dependencies

npm i pnpm -g
pnpm i

Start Dev-server

pnpm dev h5
# or
pnpm dev weapp

Mini-app Debug

Windows

winget install Tencent.WeixinDevTools
winget install Tencent.qq-devtool
winget install Alibaba.MiniProgramStudio
winget install ByteDance.DouyinIDE
winget install Baidu.SwanIDE

Mac OS X

brew install --cask wechatwebdevtools

Deployment

pnpm build h5
# or
pnpm build weapp