Closed Bek81 closed 6 years ago
Please, can you help me?
Hi @Bek81 I will try this tonight
Hi @caiobiodere , do you have any news for us?
Hi @Bek81 I fixed your problem check using this release:
https://github.com/caiobiodere/cordova-template-framework7-vue-webpack/releases/tag/2.0.9
Hi @caiobiodere ,
I have updated (according to the release) the file "hooks/hookers.js"; I don't think there was anything else to update.
Now almost everything seems to work; there is only one thing that seems wrong to me:
I add the line of code
console.log('fix test');
to the file "src/static/experience/js/default.js".
The contents of the file are not deleted.
The contents are correctly copied to the file in the "www" folder (root).
The file is not updated in the "www/static" subfolder of the "platforms/browser.
Should not everything happen automatically?
Thanks
Hi, @Bek81 for running with live-reload you just need to have those files in the root folder.
Yes, ok. So when I build, the static folder is copied to the platform. right?
Yes, correctly
Thanks a lot!
Hi, I tried to insert a sub directory called "experience" in the "src/static" folder. Its structure is like in the screenshot:
I run with the command:
cordova run browser -- --lr
When I try to modify one of the static files (index.html, css/default.css, js/default.js), the contents of the modified file are completely deleted.
How can I solve the issue? Do I have to change the configuration of the "webpack.config.js" file? How?
Thanks and regards.
Benedetto