windyeasy 30de06e2e0 chore: add gitignore files | 2 months ago | |
---|---|---|
.github | 3 months ago | |
.husky | 3 months ago | |
.vscode | 3 months ago | |
env | 3 months ago | |
screenshots | 3 months ago | |
scripts | 3 months ago | |
src | 2 months ago | |
.commitlintrc.cjs | 3 months ago | |
.editorconfig | 3 months ago | |
.eslintignore | 3 months ago | |
.eslintrc-auto-import.json | 3 months ago | |
.eslintrc.cjs | 3 months ago | |
.gitignore | 2 months ago | |
.npmrc | 3 months ago | |
.prettierignore | 3 months ago | |
.prettierrc.cjs | 3 months ago | |
.stylelintignore | 3 months ago | |
.stylelintrc.cjs | 3 months ago | |
LICENSE | 3 months ago | |
README.md | 3 months ago | |
favicon.ico | 3 months ago | |
index.html | 3 months ago | |
manifest.config.ts | 3 months ago | |
package.json | 2 months ago | |
pages.config.ts | 2 months ago | |
pnpm-lock.yaml | 2 months ago | |
tsconfig.json | 3 months ago | |
uno.config.ts | 3 months ago | |
vite.config.ts | 2 months ago |
智慧医疗移动端, 基于 unibest: https://github.com/codercup/unibest,进行开发
pnpm>=7.30
uni-ui https://hellouniapp.dcloud.net.cn/pages/component/view/view
tmui https://tmui.design/
执行 pnpm i
安装依赖
执行 pnpm dev
运行 H5
pnpm dev:h5
, 然后打开 http://localhost:9000/。pnpm dev:mp-weixin
然后打开微信开发者工具,导入本地文件夹,选择本项目的dist/dev/mp-weixin
文件。pnpm dev:app
, 然后打开 HBuilderX
,导入刚刚生成的dist/dev/app
文件夹,选择运行到模拟器(开发时优先使用),或者运行的安卓/ios 基座。pnpm build:h5
,打包后的文件在 dist/build/h5
,可以放到 web 服务器,如 nginx 运行。如果最终不是放在根目录,可以在 manifest.config.ts
文件的 h5.router.base
属性进行修改。pnpm build:mp-weixin
, 打包后的文件在 dist/build/mp-weixin
,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。pnpm build:app
, 然后打开 HBuilderX
,导入刚刚生成的dist/build/app
文件夹,选择发行 - APP 云打包。