I would like to create a Vue3 app which should run on SharePoint Online (Classic mode). If here is someone who already did such a solution, please, could you describe me what everything I have to do to run Vue3 app on SharePoint?
Thank you!
I am currently attempting this myself.
Have had some initial success using this approach https://github.com/BenRunInBay/vue3-spfx
Although, I have run into a bit of trouble with how to use vue-router :)
Basically, you create a Vue3 application however you want... I like this template: https://github.com/Sensanaty/vue3-vite-template
Within that project, you create a "webpart" directory... then you create your webpart in that newly-created directory.
It's a bit hacky, but it works to some degree.
You end up with a .sppkg file for the Sharepoint App Catalog
There's also been some recent updates in the 2 vue samples here: https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples
But both of these examples use vue 2 and node 8.
My approach allows at least Vue3 + Vite + Pinia + Axios + Node 14 with SPFX 1.13.1