Serving VueJs SPA from custom Frappe apps , I have followed all the steps as mentioned in the video such as putting todo.html in www directory of frappe custom app and assets in public folder but it's showing blank page not the content , when I am running these files by keeping them in other folder and running using live server it's working properly , please tell me what is wrong
@BuidWithHussain Your installation in frappe cloud worked fine in the first go. But when I do the same - that is - in a different environment I pull latest code and run bench build, it fails while building the Vue app. I have to manually cd into the Vue app folder and run: yarn install. Post that bench build succeeds. How did it work for you in the frappe cloud in the first go? When does postinstall execute? Am I missing a step?
Excellent! thanks
Serving VueJs SPA from custom Frappe apps , I have followed all the steps as mentioned in the video such as putting todo.html in www directory of frappe custom app and assets in public folder but it's showing blank page not the content , when I am running these files by keeping them in other folder and running using live server it's working properly , please tell me what is wrong
@BuidWithHussain Your installation in frappe cloud worked fine in the first go. But when I do the same - that is - in a different environment I pull latest code and run bench build, it fails while building the Vue app. I have to manually cd into the Vue app folder and run: yarn install. Post that bench build succeeds.
How did it work for you in the frappe cloud in the first go? When does postinstall execute? Am I missing a step?
Check your root package.json file for postinstall command. (Should be something like: cd frontend/ && yarn install)
Hello. Thank you for your video. Frappe HR mobile use this framework?
Hi 👋
Yes!
How to mount vue app inside bench and run bench start without having to start vue app yarn dev
Run bench build and that should do it. Dev server is for development, in production it doesn’t run.