├── .editorconfig ├── .env ├── .eslintrc ├── .gitignore ├── LICENSE ├── README.md ├── babel.config.js ├── config ├── development.js ├── index.js ├── production.js └── webpack │ └── mini-chain.js ├── package.json ├── postcss.config.js ├── project.alipay.json ├── project.config.json ├── src ├── app.config.ts ├── app.less ├── app.tsx ├── components │ ├── common │ │ └── next-tick-component │ │ │ └── index.tsx │ └── home-swiper │ │ └── index.tsx ├── constant │ └── index.ts ├── hooks │ └── useCheckUpdate.ts ├── index.html ├── pages │ ├── index │ │ ├── index.config.ts │ │ ├── index.less │ │ └── index.tsx │ ├── package-a │ │ ├── counter │ │ │ ├── index.config.ts │ │ │ └── index.tsx │ │ └── login │ │ │ ├── index.config.ts │ │ │ └── index.tsx │ └── profile │ │ ├── index.config.ts │ │ └── index.tsx ├── stores │ ├── counter-store.ts │ ├── libs │ │ ├── selector.ts │ │ └── storage.ts │ └── user-store.ts ├── styles │ ├── index.less │ └── vant.less ├── types │ └── index.ts └── utils │ ├── index.ts │ ├── request.ts │ └── trace.ts ├── tailwind.config.js ├── tsconfig.json └── types └── global.d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/babel.config.js -------------------------------------------------------------------------------- /config/development.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/config/development.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/config/index.js -------------------------------------------------------------------------------- /config/production.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/config/production.js -------------------------------------------------------------------------------- /config/webpack/mini-chain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/config/webpack/mini-chain.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/postcss.config.js -------------------------------------------------------------------------------- /project.alipay.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/project.alipay.json -------------------------------------------------------------------------------- /project.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/project.config.json -------------------------------------------------------------------------------- /src/app.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/app.config.ts -------------------------------------------------------------------------------- /src/app.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/app.less -------------------------------------------------------------------------------- /src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/app.tsx -------------------------------------------------------------------------------- /src/components/common/next-tick-component/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/components/common/next-tick-component/index.tsx -------------------------------------------------------------------------------- /src/components/home-swiper/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/components/home-swiper/index.tsx -------------------------------------------------------------------------------- /src/constant/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/constant/index.ts -------------------------------------------------------------------------------- /src/hooks/useCheckUpdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/hooks/useCheckUpdate.ts -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/index.html -------------------------------------------------------------------------------- /src/pages/index/index.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/index/index.config.ts -------------------------------------------------------------------------------- /src/pages/index/index.less: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/pages/index/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/index/index.tsx -------------------------------------------------------------------------------- /src/pages/package-a/counter/index.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/package-a/counter/index.config.ts -------------------------------------------------------------------------------- /src/pages/package-a/counter/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/package-a/counter/index.tsx -------------------------------------------------------------------------------- /src/pages/package-a/login/index.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/package-a/login/index.config.ts -------------------------------------------------------------------------------- /src/pages/package-a/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/package-a/login/index.tsx -------------------------------------------------------------------------------- /src/pages/profile/index.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/profile/index.config.ts -------------------------------------------------------------------------------- /src/pages/profile/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/pages/profile/index.tsx -------------------------------------------------------------------------------- /src/stores/counter-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/stores/counter-store.ts -------------------------------------------------------------------------------- /src/stores/libs/selector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/stores/libs/selector.ts -------------------------------------------------------------------------------- /src/stores/libs/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/stores/libs/storage.ts -------------------------------------------------------------------------------- /src/stores/user-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/stores/user-store.ts -------------------------------------------------------------------------------- /src/styles/index.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/styles/index.less -------------------------------------------------------------------------------- /src/styles/vant.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/styles/vant.less -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- 1 | export type TARO_ENV = "weapp" | "alipay"; 2 | -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/utils/request.ts -------------------------------------------------------------------------------- /src/utils/trace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/src/utils/trace.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HyaCiovo/taro-miniapp-template/HEAD/types/global.d.ts --------------------------------------------------------------------------------