I included the plus object directly in the js file because the vue project I was writing would end up packaged as apk, I actually ran it in Hbuilder, so plus works.
0 Answer
I included the plus object directly in the js file because the vue project I was writing would end up packaged as apk, I actually ran it in Hbuilder, so plus works.
If I am running on a real machine then I don't need to import native.js because the real machine provides an h5+ runtime environment. But if I use vue to write not a mobile project but a web project, then I need to import native.js. Is that correct?
Scaffolding typically uses npm xx and then imports xx(which can be registered globally in app.vue). Of course, you can also import it as src in the script in index.html(either using a cdn address or downloading it and importing it from a relative path).
Either is up to you.
I don't understand nativ.js for android is not a library, so it is not necessary to download it, is it not
这家伙很懒,什么都没留下...