Closed xeoshow closed 5 years ago
Hi @xeoshow , I'm not familiar with vuejs, but from the description I've read it seems like it's an UI HTML+JS framework.
nodejs-mobile
is to have the nodejs runtime running in the background.
If you are trying to use nodejs-mobile with an app that needs a HTML+JS framework, Cordova might be a good place to start. Check the cordova plugin: https://github.com/janeasystems/nodejs-mobile-cordova
I hope this is helpful.
Thanks so much for quick reply, yes it is just MVVM framework (HTML+JS). For the vuejs project, it will be finally generated with html, css and js files. For those files, how could I set them as the www root , so can access them via url like "http://localhost:8000"?
I tried to find the related wikis or documents but with no luck, thanks in advance for further help!
Best regards, Jason
Searching for "vuejs cordova" in a search engine gave me many links on how to use vuejs within cordova. On a quick look, those examples do seem to indicate how to include vuejs files within wwwroot
.
Perhaps I did not understand the question correctly, since I'm not familiar with vuejs.
Vuejs is just something similar to angularjs, so I just study below example should be most similar? https://github.com/janeasystems/nodejs-mobile-samples/tree/master/cordova-angularjs
Thanks a lot.
Best regards, Jason
I use the generated html/css/js files by vue, and place them in the www folder, this way it works. Thanks for help!
Hello,
I am new to nodejs-mobile-samples, and just would like to know: For the nodejs-mobile, could vuejs projects be supported as well? If yes, and how to pack them into android apk?
Thanks a lot.
Best regards, Jason