We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
小程序基础库: 2.13.0 使用框架: React
如: taro create --name 'tt@#$%&*' 或 taro create -name page-test
taro create --name 'tt@#$%&*'
taro create -name page-test
第一条命名不应该创建成功; 第二条创建失败或者可以按帕斯卡命名创建PageTest页面
实际页面模板如下: export default class Tt%%$ extends Component{}
export default class page-test extends Component{}
Taro CLI 3.0.9 environment info: System: OS: Windows 10 Binaries: Node: 10.15.3 - D:\Program Files\nodejs\node.EXE Yarn: 1.17.3 - C:\Users\User\scoop\apps\yarn\current\Yarn\bin\yarn.CMD npm: 6.4.1 - D:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
feat(cli): create page command support customize page directory
6f6aced
NervJS#7598 NervJS#13428
ZEJIA-LIU
Successfully merging a pull request may close this issue.
相关平台
微信小程序
小程序基础库: 2.13.0
使用框架: React
复现步骤
如:
taro create --name 'tt@#$%&*'
或
taro create -name page-test
期望结果
第一条命名不应该创建成功;
第二条创建失败或者可以按帕斯卡命名创建PageTest页面
实际结果
实际页面模板如下:
export default class Tt%%$ extends Component{}
export default class page-test extends Component{}
环境信息
The text was updated successfully, but these errors were encountered: