victorwang0526
victorwang0526
https://github.com/youzan/vant-demo 有ts的示例
按yingyuk的方案是可以解决的 如果有人想全部引入element-ui,按需引入vant,因为vant的types里没有独立的比如button.d.ts的文件,现提供如下办法按需引入vant。 解决方案: main.ts ``` import Button from 'vant/lib/button' import 'vant/lib/button/index.css' Vue.component('van-button', Button) ``` 在自己项目中增加`button.d.ts`,比如我的放在`/src/components/vant/button.d.ts` ``` import { VanComponent } from 'vant/types/component' export class Button extends VanComponent {} ``` tsconfig.json...
I searched all day with google, try `Legacy Build System`, nothing happened. And some other ways, none of them helped me.
I also tried use this docs to create an ionic with capacitor, still same error. https://capacitor.ionicframework.com/docs/getting-started/with-ionic
@jcesarmobile Thanks, I will try update XCode later.
When I updated Xcode by App Store, it's running ok now.