Closed adrianjost closed 6 years ago
Current Status: can compile simple .vue files at runtime https://github.com/schul-cloud/schulcloud-client/commit/05d9f4dff3f0e26b0793442a8382c95f8858a0ea
Testbranch: https://github.com/schul-cloud/schulcloud-client/commits/seminar-vue-search-test
Plugins (liek Vue-Material, Vee-validate, ...) are currently not supported (source). We need to find any other way. I think the best way is to use in any way the files that were build with webpack here. If we can serve the compiled files with express, everything should be fine.
Using an simple iFrame on schulcloud-client with a query string that tells our vue app to be displayed without the AppShell seems to work fine. For this solution, it's important that both sites uses the same domain. If using a subdomain for the content service you need to set document.domain (link).
At the moment, this looks like the best option we have.
It's done! 😄 pull description
Wie kann man einzelne .vue Komponenten in den bestehenden Schul-Cloud Client einbinden?
Optionen: