如果我要配合wepy2用vant weapp 的toast组件,该怎么配置?

<config>

{

    navigationBarTitleText: 'test',

    component:true,

    usingComponents: {

      "van-toast":"module:@vant/weapp/dist/toast"

    }

}

</config>

 

头疼啊,我只会这样引入,但是我如果想在js里引用该怎么import?求大佬