From 459b6b00315225743c9824fbd3cce1108e61469a Mon Sep 17 00:00:00 2001 From: buttle Date: Fri, 22 Oct 2021 12:00:34 +0200 Subject: [PATCH] makes axios call to remote api --- index.html | 18 ++++++++++++++++++ package.json | 1 + src/components/archiveList.vue | 24 ++++++++++++++++++++++-- src/loaders/archiveListLoader.js | 4 ++-- 4 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..c34f3d5 --- /dev/null +++ b/index.html @@ -0,0 +1,18 @@ + + + + + + + +
+
+ + + + + + + diff --git a/package.json b/package.json index da72f9c..cca48ec 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "List arc-hive collections for Omeka", "main": "webpack.config.js", "devDependencies": { + "axios": "^0.23.0", "babel-loader": "^8.2.3", "vue": "^2.6.14", "vue-loader": "^15.9.8", diff --git a/src/components/archiveList.vue b/src/components/archiveList.vue index 763e2b9..2c385e7 100644 --- a/src/components/archiveList.vue +++ b/src/components/archiveList.vue @@ -8,17 +8,28 @@ This file is part of ArciveList.