Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新所有 #195

Open
wants to merge 222 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
2ccac9b
docs(readme): 增加文档地址
feige996 Mar 1, 2024
25d7ba9
feat: delete useless files
feige996 Mar 1, 2024
86a8b5c
refactor: delete useless img
feige996 Mar 1, 2024
2ab8375
docs(readme): 增加文档地址
feige996 Mar 1, 2024
d02081e
feat: 组件自动引入 + 自定义导航栏
feige996 Mar 2, 2024
89327b9
feat: 组件自动引入 + 自定义导航栏
feige996 Mar 2, 2024
3a9dab4
refine: demo
feige996 Mar 2, 2024
0729a17
refine: demo
feige996 Mar 2, 2024
d66dfdb
build: v1.1.0
feige996 Mar 2, 2024
7cac45b
build: v1.1.0
feige996 Mar 2, 2024
f687fe9
feat: 优化demo显示
feige996 Mar 3, 2024
b20ec20
feat: 优化demo显示
feige996 Mar 3, 2024
957fd7c
fix: demo展示
feige996 Mar 3, 2024
98e7fc5
refactor: default layout
feige996 Mar 3, 2024
1c7f6f8
refactor: demo/index 展示
feige996 Mar 3, 2024
f951159
refactor: demo/index 展示
feige996 Mar 3, 2024
30d09df
refactor: default layout
feige996 Mar 3, 2024
9160540
fix: navbar 展示bug
feige996 Mar 3, 2024
8384317
fix: navbar 展示bug
feige996 Mar 3, 2024
d870209
refine: 自动导入
feige996 Mar 3, 2024
be955d6
refactor: 优化展示内容
feige996 Mar 3, 2024
c728d3c
refine: 自动导入
feige996 Mar 3, 2024
0a6f906
refactor: 优化展示内容
feige996 Mar 3, 2024
d435e9b
refine: 首页展示
feige996 Mar 3, 2024
d6c637b
refine: 删除多余 i18n 文件
feige996 Mar 3, 2024
9cd5e3e
feat: i18n BUG 提示
feige996 Mar 3, 2024
51e7091
refine: 首页展示
feige996 Mar 3, 2024
f1cda1a
refine: 删除多余 i18n 文件
feige996 Mar 3, 2024
18c4bea
feat: i18n BUG 提示
feige996 Mar 3, 2024
55c2c43
refine: delete useless file
feige996 Mar 3, 2024
f0e576b
feat: unibest title
feige996 Mar 3, 2024
2ba9cb7
fix: 展示BUG
feige996 Mar 3, 2024
0649d65
fix: 展示BUG
feige996 Mar 3, 2024
b6b06bc
fix: 首页支持微信分享
feige996 Mar 3, 2024
3cbf757
fix: 首页支持微信分享
feige996 Mar 3, 2024
b9a91ce
feat: 优化首页展示
feige996 Mar 3, 2024
dd48538
feat: 优化首页展示
feige996 Mar 3, 2024
d2b0f23
feat: rename.sh
feige996 Mar 3, 2024
85565da
feat: rename.sh
feige996 Mar 3, 2024
1c5c76a
build: v1.2.0
feige996 Mar 4, 2024
7cb3778
build: v1.2.0
feige996 Mar 4, 2024
6a74ebe
build: refine
feige996 Mar 4, 2024
ff5e803
feat: add default css reset
feige996 Mar 4, 2024
1ca2909
feat: add default css reset
feige996 Mar 4, 2024
9a2ad8f
build(.gitignore): 移除 .eslintrc-auto-import.json
feige996 Mar 4, 2024
f1bf760
refine: 无需自动导入 hooks
feige996 Mar 4, 2024
265b836
build(.gitignore): 移除 .eslintrc-auto-import.json
feige996 Mar 4, 2024
7e9b3da
refine: 无需自动导入 hooks
feige996 Mar 4, 2024
2b85cae
refine: 居中显示文档和演示地址
wangchaoyangxi Mar 5, 2024
0e9c43b
fix: unocss 与 第三方框架样式冲突 BUG
feige996 Mar 6, 2024
5acd2ff
chore: 续上,去掉错误提示
feige996 Mar 6, 2024
dc110d9
fix: unocss 与 第三方框架样式冲突 BUG
feige996 Mar 6, 2024
83928c6
chore: 续上,去掉错误提示
feige996 Mar 6, 2024
32c6374
chore: delete 重复的无用文件
feige996 Mar 6, 2024
76b559b
build: v1.3.0
feige996 Mar 6, 2024
aaf7455
build: v1.3.0
feige996 Mar 6, 2024
6e58b31
feat: 完成路由拦截
feige996 Mar 6, 2024
797ecce
fix: 微信里面自动encode,需要decode
feige996 Mar 7, 2024
b8cc452
feat(utils): 开发 获取 pages 工具函数
feige996 Mar 7, 2024
fb7456e
refactor: 通过 needLogin 参数获取到需要拦截的页面
feige996 Mar 7, 2024
f1a46b9
chore: add comment
feige996 Mar 7, 2024
570c7da
feat: 完成路由拦截
feige996 Mar 6, 2024
6a9a100
fix: 微信里面自动encode,需要decode
feige996 Mar 7, 2024
e5e707f
feat(utils): 开发 获取 pages 工具函数
feige996 Mar 7, 2024
1f764c3
refactor: 通过 needLogin 参数获取到需要拦截的页面
feige996 Mar 7, 2024
538e1fb
chore: add comment
feige996 Mar 7, 2024
c4cc2be
refactor: route.js
feige996 Mar 7, 2024
35df1e1
fix: wx 请求不显示bug
feige996 Mar 7, 2024
f8ad687
chore: types
feige996 Mar 7, 2024
0bb4686
fix: wx 请求不显示bug
feige996 Mar 7, 2024
9a27c11
docs(readme): todolist
feige996 Mar 7, 2024
51f00f7
fix: 运行报错
feige996 Mar 8, 2024
b441268
wip: 发现自执行获取到的是isDev是false
feige996 Mar 8, 2024
3f196be
Revert "wip: 发现自执行获取到的是isDev是false"
feige996 Mar 8, 2024
78caebb
Merge branch 'feat/route-block'
feige996 Mar 8, 2024
62d59fc
Merge branch 'feat/route-block' into demo
feige996 Mar 8, 2024
78bcfd8
fix: app 里运行报错
feige996 Mar 8, 2024
e39927b
fix: app 里运行报错
feige996 Mar 8, 2024
ff8e3ea
build: 1.4.0
feige996 Mar 8, 2024
62b89c4
build: 1.4.0
feige996 Mar 8, 2024
852e261
fix: run build error
feige996 Mar 8, 2024
b79a550
build: v1.5.0
feige996 Mar 8, 2024
aa50ed6
fix: run build error
feige996 Mar 8, 2024
24a776f
build: v1.5.0
feige996 Mar 8, 2024
e1f3a3f
fix: process is not defined
feige996 Mar 8, 2024
ae1d974
refactor: isDev 执行一次就行,加快响应
feige996 Mar 8, 2024
0cdfb48
fix: process is not defined again
feige996 Mar 8, 2024
8faade3
fix: process 就是不存在,打包不可用
feige996 Mar 8, 2024
0ef2145
refactor: isDev 执行一次就行,加快响应
feige996 Mar 8, 2024
883a5cb
fix: process is not defined
feige996 Mar 8, 2024
4cbb49f
refactor: 优化路由拦截页面样式
feige996 Mar 8, 2024
3fe6251
refactor: 优化路由拦截页面样式
feige996 Mar 8, 2024
6dc5a07
build: v1.5.1
feige996 Mar 8, 2024
cfc3878
refactor: 增加2个hide,隐藏2个页面
feige996 Mar 8, 2024
d9e5858
refactor: 增加2个hide,隐藏2个页面
feige996 Mar 8, 2024
0d512b7
fix: 登陆检测
feige996 Mar 9, 2024
091e6ce
fix: 登陆检测
feige996 Mar 9, 2024
d5cdca1
feat: 增加微信分享功能,方便测试路由拦截
feige996 Mar 9, 2024
69f2029
refactor: 登记检测代码
feige996 Mar 9, 2024
12b2c5d
fix: 登录检测,续上
feige996 Mar 9, 2024
5c47985
fix: 选择器不支持
feige996 Mar 9, 2024
21459af
fix: 路由拦截path
feige996 Mar 9, 2024
aeb8b42
feat: 增加拦截中间页
feige996 Mar 9, 2024
35ec3e7
wip: add console
feige996 Mar 9, 2024
383dfdb
chore: log
feige996 Mar 9, 2024
1b29fc3
refactor: 路由拦截
feige996 Mar 9, 2024
7bbc28a
fix: 分享出去的路径
feige996 Mar 9, 2024
1b05bd7
feat: 分享进来的也要判断登录状态
feige996 Mar 9, 2024
8ea714a
refactor: typings 不用导出
feige996 Mar 9, 2024
b2c6046
feat: add uniUploadFile
feige996 Mar 9, 2024
e165708
chore(extensions.json): delete vue.vscode-typescript-vue-plugin
feige996 Mar 9, 2024
72984c1
refactor: isDev 环境判断
feige996 Mar 9, 2024
6b25658
refactor: typings 不用导出
feige996 Mar 9, 2024
b0a6d7f
feat: add uniUploadFile
feige996 Mar 9, 2024
aa114a2
chore(extensions.json): delete vue.vscode-typescript-vue-plugin
feige996 Mar 9, 2024
c0fd974
refactor: isDev 环境判断
feige996 Mar 9, 2024
b5d9d97
refine: isLogined
feige996 Mar 9, 2024
35ad394
refactor: 路由拦截
feige996 Mar 9, 2024
aa06903
fix: bug
feige996 Mar 9, 2024
3fef604
refactor: h5 里面不用导航栏
feige996 Mar 9, 2024
0052c49
fix: bug
feige996 Mar 9, 2024
7b87a4b
refactor: h5 里面不用导航栏
feige996 Mar 9, 2024
22e5fd5
build: deploy to laf
feige996 Mar 9, 2024
b8677e9
fix: env.LAF_PAT 错误
feige996 Mar 9, 2024
d7f675f
fix: npm run build:h5
feige996 Mar 9, 2024
1e18805
build: 使用 pnpm 安装
feige996 Mar 9, 2024
20468eb
wip: laf 推送
feige996 Mar 9, 2024
d6852ca
wip: build deploy-laf
feige996 Mar 9, 2024
aa6d754
wip: api_url
feige996 Mar 9, 2024
177b4b5
wip: 不能放到根目录 + Unauthorized resource request
feige996 Mar 9, 2024
4717122
build: 既然不成功,那就禁用了
feige996 Mar 9, 2024
82f8419
refine: v3 code snippets
feige996 Mar 10, 2024
213b87e
refactor: 不能随便全局加 box-sizing
feige996 Mar 10, 2024
8cc9fc6
refine: v3 code snippets
feige996 Mar 10, 2024
6143df6
refactor: 不能随便全局加 box-sizing
feige996 Mar 10, 2024
5287a1a
refine: demo 代码
feige996 Mar 10, 2024
ad88952
refine: demo 代码
feige996 Mar 10, 2024
f02a876
refine: demo 展示
feige996 Mar 10, 2024
ab39065
refine: demo 展示
feige996 Mar 10, 2024
51e2ef2
chore: env 后台api url
feige996 Mar 10, 2024
ea2a040
refine: isLogined 获取
feige996 Mar 10, 2024
a9d1b37
build(.gitignore): 还是放开pages和manifest
feige996 Mar 10, 2024
0776089
refactor: 路由拦截
feige996 Mar 10, 2024
1c4c42e
wip: 处理页面离开了,还出现弹窗的问题
feige996 Mar 10, 2024
c29cd15
wip: 经过真机测试发现,h5没问题,wx 不触发该事件
feige996 Mar 10, 2024
a6d31c5
fix: 处理页面离开了,还出现弹窗的问题. DONE
feige996 Mar 10, 2024
ded44b0
feat: 引入 wot
feige996 Mar 10, 2024
b97d674
feat: wot 测试文件
feige996 Mar 10, 2024
a173957
feat: curtain 展示幕帘
feige996 Mar 10, 2024
8450425
build(.vscode): antfu.iconify 支持图标预览
feige996 Mar 11, 2024
45b91fd
chore: docs
feige996 Mar 12, 2024
102e258
chore: packageManager
feige996 Mar 12, 2024
d98eec0
build(.gitignore): add pages.json manifest.json
feige996 Mar 13, 2024
66284af
build: delete pages.json & manifest.json
feige996 Mar 13, 2024
885c9a9
build(package.json): add 快捷命令
feige996 Mar 13, 2024
f4c83b8
fix: 重定向时,参数丢失bug
feige996 Mar 13, 2024
82fca8f
Merge branch 'demo'
feige996 Mar 14, 2024
69e616d
build: demo分支push时触发部署
feige996 Mar 14, 2024
c9e9398
feat: 登陆拦截
feige996 Mar 14, 2024
a513d3e
refine: 登录拦截样式
feige996 Mar 14, 2024
afb209d
Merge branch 'demo'
feige996 Mar 14, 2024
5008857
build(github): issue template
feige996 Mar 17, 2024
3f46a88
fix(unocss): #16
feige996 Mar 17, 2024
161158e
fix(unocss): #16
feige996 Mar 17, 2024
e8f9771
fix(vite): #14
feige996 Mar 17, 2024
c1b69dd
fix(vite): #14
feige996 Mar 17, 2024
c959e17
build: deploy on main
feige996 Mar 17, 2024
8d9ab02
build: deploy on main
feige996 Mar 17, 2024
bd1a444
refine(github): github issue
feige996 Mar 17, 2024
d036be3
build(.gitignore): .hbuilderx
feige996 Mar 17, 2024
83ec5cb
build: main 分支不需要 visualizer
feige996 Mar 17, 2024
469d5db
build: rename.sh
feige996 Mar 17, 2024
ac8625c
build: app 运行,arr.at() 不认识
feige996 Mar 17, 2024
eec5059
build: app 运行,arr.at() 不认识,vite.config.ts 处理不行
feige996 Mar 17, 2024
4886582
refactor: arr.at
feige996 Mar 18, 2024
5b5b651
Merge branch 'demo'
feige996 Mar 18, 2024
3222ed0
docs: readme
feige996 Mar 18, 2024
d08e6cc
docs: readme
feige996 Mar 18, 2024
47241b5
build: 2个json 不能加入 .gitignore
feige996 Mar 20, 2024
2b8b5b2
build: merge commit '47241b5d725cbe5c66342d67dfff8cc43a314a9d'
feige996 Mar 20, 2024
388c3bc
build: pnpm dev
feige996 Mar 20, 2024
4ae645f
build: fix route base error
feige996 Mar 20, 2024
556039b
chore: log
feige996 Mar 20, 2024
3285f04
build(.vscode): add mrmlnc.vscode-json5 to extensions.json
feige996 Mar 21, 2024
599a40c
build(.vscode): add mrmlnc.vscode-json5 to extensions.json
feige996 Mar 21, 2024
842ebdd
fix: #28 uni-ui 使用
feige996 Mar 22, 2024
57a44a9
refine: #28
feige996 Mar 22, 2024
c27c0b8
Merge branch 'demo'
feige996 Mar 22, 2024
bca7d2e
build: update [email protected]
feige996 Mar 22, 2024
38a4c08
feat: wot 体验 ts
feige996 Mar 22, 2024
9a0e83e
Merge branch 'demo'
feige996 Mar 22, 2024
d11298d
fix: errMsg: "navigateTo:fail can not navigateTo a tabbar page"
feige996 Mar 22, 2024
e132ae1
fix: errMsg: "navigateTo:fail can not navigateTo a tabbar page"
feige996 Mar 22, 2024
f69d43a
chore: .gitignore
feige996 Mar 22, 2024
a6f4add
refine: eslint
feige996 Mar 24, 2024
7faa483
Merge branch 'demo'
feige996 Mar 24, 2024
334b021
fix(prettier): 格式化后,标签>跑到下一行BUG
feige996 Mar 25, 2024
0705335
fix(prettier): 格式化后,标签>跑到下一行BUG
feige996 Mar 25, 2024
e5f63c6
refine: wot
feige996 Mar 25, 2024
3e851a2
Merge commit 'e5f63c6d3b3d3bad5ecb2450d95af95b73935b55'
feige996 Mar 25, 2024
0428ef6
fix: windows 里面运行小程序报错,BUSY,自动关闭服务
feige996 Mar 26, 2024
cb33daa
Merge branch 'demo'
feige996 Mar 26, 2024
7c59c63
build: deploy add timezone
feige996 Mar 26, 2024
c2feb43
build: add 淘宝源 registry
feige996 Mar 26, 2024
a87ea39
build: add 淘宝源 registry
feige996 Mar 26, 2024
432d373
build(package.json): update dependency versions
feige996 Mar 27, 2024
fa1b681
build: vue 3.4.19
feige996 Mar 27, 2024
7f99f71
Merge branch 'demo'
feige996 Mar 27, 2024
a8aaa17
docs: readme
feige996 Mar 28, 2024
6a01020
docs: readme
feige996 Mar 28, 2024
dbb7115
docs: readme + 1
feige996 Mar 28, 2024
61d9730
Merge branch 'demo'
feige996 Mar 28, 2024
463b767
feat: add alias @img
feige996 Mar 28, 2024
e4e5605
Merge commit '463b767ae1a34ec81ad747a7964ef54e0fea5a62'
feige996 Mar 28, 2024
78cb98f
build: delete @uni-helper/uni-app-types
feige996 Mar 28, 2024
6e3419e
build: delete @uni-helper/uni-app-types
feige996 Mar 28, 2024
5cfca40
build: add log
feige996 Mar 28, 2024
034684e
build: add log
feige996 Mar 28, 2024
fcc8f1c
feat: 环境变量与--mode配合使用
feige996 Mar 30, 2024
9ca62a8
refactor: getLastItem
feige996 Mar 30, 2024
c32cc54
feat: 引入 vite-plugin-mock
feige996 Mar 30, 2024
717c2c2
Merge branch 'demo'
feige996 Mar 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions .eslintrc-auto-import.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"globals": {
"Component": true,
"ComponentPublicInstance": true,
"ComputedRef": true,
"EffectScope": true,
"ExtractDefaultPropTypes": true,
"ExtractPropTypes": true,
"ExtractPublicPropTypes": true,
"InjectionKey": true,
"PropType": true,
"Ref": true,
"VNode": true,
"WritableComputedRef": true,
"computed": true,
"createApp": true,
"customRef": true,
"defineAsyncComponent": true,
"defineComponent": true,
"effectScope": true,
"getCurrentInstance": true,
"getCurrentScope": true,
"h": true,
"inject": true,
"isProxy": true,
"isReactive": true,
"isReadonly": true,
"isRef": true,
"markRaw": true,
"nextTick": true,
"onActivated": true,
"onAddToFavorites": true,
"onBackPress": true,
"onBeforeMount": true,
"onBeforeUnmount": true,
"onBeforeUpdate": true,
"onDeactivated": true,
"onError": true,
"onErrorCaptured": true,
"onHide": true,
"onLaunch": true,
"onLoad": true,
"onMounted": true,
"onNavigationBarButtonTap": true,
"onNavigationBarSearchInputChanged": true,
"onNavigationBarSearchInputClicked": true,
"onNavigationBarSearchInputConfirmed": true,
"onNavigationBarSearchInputFocusChanged": true,
"onPageNotFound": true,
"onPageScroll": true,
"onPullDownRefresh": true,
"onReachBottom": true,
"onReady": true,
"onRenderTracked": true,
"onRenderTriggered": true,
"onResize": true,
"onScopeDispose": true,
"onServerPrefetch": true,
"onShareAppMessage": true,
"onShareTimeline": true,
"onShow": true,
"onTabItemTap": true,
"onThemeChange": true,
"onUnhandledRejection": true,
"onUnload": true,
"onUnmounted": true,
"onUpdated": true,
"provide": true,
"reactive": true,
"readonly": true,
"ref": true,
"resolveComponent": true,
"shallowReactive": true,
"shallowReadonly": true,
"shallowRef": true,
"toRaw": true,
"toRef": true,
"toRefs": true,
"toValue": true,
"triggerRef": true,
"unref": true,
"useAttrs": true,
"useCssModule": true,
"useCssVars": true,
"useSlots": true,
"watch": true,
"watchEffect": true,
"watchPostEffect": true,
"watchSyncEffect": true
}
}
4 changes: 4 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ module.exports = {
'@typescript-eslint/no-explicit-any': 'off',
'no-underscore-dangle': 'off',
'no-use-before-define': 'off',
'no-undef': 'off',
'no-unused-vars': 'off',
'no-param-reassign': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
// eslint-import-resolver-typescript 插件,@see https://www.npmjs.com/package/eslint-import-resolver-typescript
settings: {
Expand Down
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report(报告问题)
about: Create a report to help us improve
---

<!--
注意:为更好的解决你的问题,请参考模板提供完整信息,准确描述问题,信息不全的 issue 将被关闭。

Note: In order to better solve your problem, please refer to the template to provide complete information, accurately describe the problem, and the incomplete information issue will be closed.
-->

# Bug report(问题描述)

please write your issue description here

## Steps to reproduce(问题复现步骤)

<!--
1. [xxx]
2. [xxx]
3. [xxxx]
-->

## Screenshot or Gif(截图或动态图)

## minimal reproduction(最小可还原代码)

## System Info

`npx envinfo --system --npmPackages vue --binaries --browsers`

执行上面命令,将结果贴下面
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: Feature Request(新功能建议)
about: Suggest an idea for this project
---

# Feature request(新功能建议)
3 changes: 3 additions & 0 deletions .github/workflows/deploy-h5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# 设置服务器时区为东八区
- name: Set time zone
run: sudo timedatectl set-timezone 'Asia/Shanghai'
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/deploy-laf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build
on:
push:
branches:
- demosss
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
# 云存储名称,比如 ukw0y1-site 只需要写 site
BUCKET_NAME: site
# 网站资源推送到云存储的目标目录(默认是根目录,会覆盖原有文件)
BUCKET_DIST_PATH: unibest-demo
# 目前本地测试过,随便一个名字就行
LAF_APPID: feige
LAF_PAT: ${{ secrets.LAF_PAT }}
API_URL: 'https://api.laf.run'
DIST_PATH: 'dist/build/h5'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Build
run: pnpm build:h5
# 安装 laf-cli
- name: Install Laf-CLI
run: pnpm i laf-cli -g
# 登录 laf api
- name: Login laf-cli
run: |
laf user add ${{ env.LAF_APPID }} -r ${{ env.API_URL }}
laf user switch ${{ env.LAF_APPID }}
laf login ${{ env.LAF_PAT }}
# 初始化 Laf 应用然后将编译好的代码推送到云存储
- name: Init appid and push
env:
LAF_APPID: ${{ env.LAF_APPID }}
run: |
laf app init ${{ env.LAF_APPID }}
laf storage push -f ${{ env.BUCKET_NAME }}/${{ env.BUCKET_DIST_PATH }} ${{ env.DIST_PATH }}/
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ dist
*.njsproj
*.sln
*.sw?
.hbuilderx

.stylelintcache
# rollup-plugin-visualizer 生成的分析文件
stats.html
# unplugin-auto-import 生成的类型文件
auto-import.d.ts
.eslintrc-auto-import.json
# unplugin-vue-components 生成的类型文件
components.d.ts
# vite-plugin-uni-pages 生成的类型文件
uni-pages.d.ts

# 插件生成的文件
src/pages.json
src/manifest.json
# src/pages.json
# src/manifest.json

# lock 文件还是不要了,我主要的版本写死就好了
# github actions 需要这些文件,所以留着
Expand All @@ -46,3 +46,8 @@ src/manifest.json
# git rm -r --cached file1 file2 ## 针对某些文件
# git rm -r --cached dir1 dir2 ## 针对某些文件夹
# git rm -r --cached . ## 针对所有文件

# 要跳过检查时,使用 --no-verify 过滤
# git commit -m 'feat: 引入 ucharts' --no-verify

# npx @dcloudio/uvm@latest 更新 uniapp
16 changes: 0 additions & 16 deletions .hbuilderx/launch.json

This file was deleted.

3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# registry = https://registry.npmjs.org
registry = https://registry.npmmirror.com

strict-peer-dependencies=false
auto-install-peers=true
shamefully-hoist=true
1 change: 1 addition & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
semi: false,
trailingComma: 'all',
endOfLine: 'auto',
htmlWhitespaceSensitivity: 'ignore',
overrides: [
{
files: '*.json',
Expand Down
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"recommendations": [
"vue.volar",
"vue.vscode-typescript-vue-plugin",
"stylelint.vscode-stylelint",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"antfu.unocss",
"antfu.iconify",
"evils.uniapp-vscode",
"mrmaoddxxaa.create-uniapp-view",
"uni-helper.uni-helper-vscode",
"uni-helper.uni-app-schemas-vscode",
"uni-helper.uni-highlight-vscode",
"uni-helper.uni-ui-snippets-vscode",
"uni-helper.uni-app-snippets-vscode",
"uni-helper.uni-cloud-snippets-vscode"
"uni-helper.uni-cloud-snippets-vscode",
"mrmlnc.vscode-json5"
]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@
"climblee",
"commitlint",
"dcloudio",
"feige",
"qrcode",
"refresherrefresh",
"safeareainsets",
"scrolltolower",
"tabbar",
"unibest",
Expand Down
7 changes: 5 additions & 2 deletions .vscode/vue3.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"body": [
"<route lang=\"json5\" type=\"page\">",
"{",
" style: { navigationBarTitleText: '$1' },",
" layout: 'default',",
" style: {",
" navigationBarTitleText: '$1',"
" },",
"}",
"</route>\n",
"<template>",
Expand All @@ -31,7 +34,7 @@
"//$3",
"</script>\n",
"<style lang=\"scss\" scoped>",
"//",
"//$4",
"</style>\n",
],
},
Expand Down
8 changes: 8 additions & 0 deletions README.app.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@

> tips: mac 可以安装多个版本的软件,
> ![multiple-version](./screenshots/multiple-version.png)

## arr.at(-1) 真机运行报错

![Alt text](image.png)

通过设置 `vite.config.ts` `build.target` 设置为 `es2015` 未能解决。

只好使用传统方法替换 `at()` 。
Loading
Loading