Closed Asher-Ding closed 1 year ago
在使用wepy过程中,试图导入腾讯的tdesign npm框架,提示resolve错误。通过修改路径导入成功后,运行时提示找不到对应的文件。
[如何重现问题]
[How to reproduce the issue]
[实际表现]
[Observed Results]
[期望表现]
[Expected Results]
index.wpy
... "navigationBarTitleText": 'WePY 2.0 Feature Demo', "usingComponents": { "slide-view": "module:miniprogram-slide-view", "t-button": "module:tdesign-miniprogram", } ... ```
babel版本的问题,参考https://www.02405.com/archives/12043
Description
在使用wepy过程中,试图导入腾讯的tdesign npm框架,提示resolve错误。通过修改路径导入成功后,运行时提示找不到对应的文件。
Environment
Reproduce
[如何重现问题]
[How to reproduce the issue]
Observed Results
[实际表现]
[Observed Results]
Expected Results
[期望表现]
[Expected Results]
Relevant Code / Logs
index.wpy