2021年5月1日星期六

Can shift a component's function in some other file in vue?

I have multiple functions in my vue component like this. Is there any way i can shift functions in some other file and then import those here . This is my App.vue

  getLocation: async function () {           },      subscribe: function (longitude, latitude) {          },        async openLocationWarning() {               },      uploadData(data, key) {            },      downloadData()      {              }  
https://stackoverflow.com/questions/67352400/can-shift-a-components-function-in-some-other-file-in-vue May 02, 2021 at 10:06AM

没有评论:

发表评论