diff --git a/src/.gitignore b/src/.gitignore new file mode 100644 index 0000000..147d7d2 --- /dev/null +++ b/src/.gitignore @@ -0,0 +1 @@ +output.css \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 78fd1f0..b1148bc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,12 +5,12 @@
- +
- +
@@ -30,12 +30,16 @@ export default { data() { return { sharedFile: null, + zipUrl: null, }; }, methods: { handleFileUpload(file) { this.sharedFile = file; }, + handleZipUpload(zip) { + this.zip = zip; + }, }, } diff --git a/src/components/WebContentViewer.vue b/src/components/WebContentViewer.vue index 5ccc6b7..ed591cb 100644 --- a/src/components/WebContentViewer.vue +++ b/src/components/WebContentViewer.vue @@ -4,16 +4,33 @@
Nom
Taille
+ +
+ +
+
{{ zipName }}
+ +
+
+ {{ formatFileSize(zipSize) }} +
+
+
-
+