mjessen

@mjessen

Posts made by mjessen

@Fran-Diox thank you, with one extra step it works out. This is my workflow:

Create a project with vue init OnsenUI/vue-cordova-webpack projectName on my local machine

Run npm install and npm run build

Upload the project to the monaca cloud with monaca upload (only the “www” and “res” folder will be uploaded)

Create the custom monaca debugger (in case you want to use a cordova plugin which is not included in the monaca debugger) and install it on my android device

Import the project from the cloud to the monaca localkit (new working directory)

Copy all files wich are needed for npm run build:watch to the new working directory because they are not included in the cloud (this is the extra step…)

Open the project in the custom debugger and run npm run build:watch. As you mentioned all changes in the “src” folder will automatically generate the files in the “www” folder and fetch the debugger if the livereload in activated.

That’s how i debug my apps right now. Do you know any kind of livereload of the app after saving changes in the code? Thats why i want to use the custom monaca debugger. The livereload of the debugger is much faster than the build with android studio…

Thank you. I know these commands and the express + webpack runtime server but that is not a solution for me. I am using cordova plugins (e.g. sqlite plugin) in my project which are not working with npm run dev. I need a custom monaca debugger with the uncompiled files to use the great livereload tool.

My problem is that i can’t upload the uncompiled files to the monaca cloud to create the custom monaca debugger. So, i am wonderung if there is a solution to use the uncompiled files in a custom monaca debugger?

followed the instructions in this docs to create an onsenui 2 + vue 2 template on my computer which works pretty well (monaca demo, preview …). From my project folder i used “monaca upload” to upload and use the files in the monaca cloud because i want to create an custom monaca debugger to include all cordova plugins i need. All these steps are working fine.

My problem is that i can’t use the livereload properly because in the uploaded “www” folder is the already build version of the project. Is it possible to use the project “src” folder (with the .vue files) in the cloud or localkit for development and livereload of the custom debugger?