Skip to content

Commit 650d4ce

Browse files
authored
fix(h5): allow readonly in input component #18099 (#18103)
* feat: 支持readonly属性 * feat: 添加测试项目 * feat: 添加测试项目 * feat: 成功测试vue3+taro+h5 --------- Co-authored-by: heyongqi10 <[email protected]>
1 parent a656510 commit 650d4ce

File tree

31 files changed

+11723
-2
lines changed

31 files changed

+11723
-2
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 配置文档参考 https://taro-docs.jd.com/docs/next/env-mode-config
2+
# TARO_APP_ID="开发环境下的小程序 AppID"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# TARO_APP_ID="生产环境下的小程序 AppID"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# TARO_APP_ID="测试环境下的小程序 AppID"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// ESLint 检查 .vue 文件需要单独配置编辑器:
2+
// https://eslint.vuejs.org/user-guide/#editor-integrations
3+
{
4+
"extends": ["taro/vue3"]
5+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dist/
2+
deploy_versions/
3+
.temp/
4+
.rn_temp/
5+
node_modules/
6+
.DS_Store
7+
.swc
8+
*.local
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
# 运行 commitlint 检查 commit message
4+
npx --no -- commitlint --edit ${1}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// babel-preset-taro 更多选项和默认值:
2+
// https://docs.taro.zone/docs/next/babel-config
3+
module.exports = {
4+
presets: [
5+
['taro', {
6+
framework: 'vue3',
7+
ts: true,
8+
compiler: 'webpack5',
9+
}]
10+
]
11+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default { extends: ["@commitlint/config-conventional"] };
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import type { UserConfigExport } from "@tarojs/cli"
2+
3+
export default {
4+
logger: {
5+
quiet: false,
6+
stats: true
7+
},
8+
mini: {},
9+
h5: {}
10+
} satisfies UserConfigExport<'webpack5'>

0 commit comments

Comments
 (0)