#66 - Compiler le JS avant de l'envoyer au client

This commit is contained in:
Damien Broqua 2022-10-28 22:40:02 +02:00
parent a74c67e241
commit 8f9e902587
20 changed files with 809 additions and 762 deletions

View file

@ -0,0 +1,18 @@
Vue.createApp({
data() {
return {
format: 'xml',
}
},
created() {
},
destroyed() {
},
methods: {
exportCollection(event) {
event.preventDefault();
window.open(`/api/v1/albums?exportFormat=${this.format}`, '_blank');
}
},
}).mount('#exporter');