<config>
{
navigationBarTitleText: 'test',
component:true,
usingComponents: {
"van-toast":"module:@vant/weapp/dist/toast"
}
}
</config>
头疼啊,我只会这样引入,但是我如果想在js里引用该怎么import?求大佬
<config>
{
navigationBarTitleText: 'test',
component:true,
usingComponents: {
"van-toast":"module:@vant/weapp/dist/toast"
}
}
</config>
头疼啊,我只会这样引入,但是我如果想在js里引用该怎么import?求大佬