From d856dea3602b214dfd35f7cb96a8fb0f28080bc0 Mon Sep 17 00:00:00 2001 From: dim web Date: Tue, 9 Nov 2021 21:08:56 +0300 Subject: [PATCH] add google images --- .../src/Authorization/LearnPage.vue | 48 ++++++++++++++----- .../src/experiments/TestGoogleImages.vue | 17 +++++++ .../src/router/index.js | 5 ++ 3 files changed, 58 insertions(+), 12 deletions(-) create mode 100644 frontend/frontend_learn_english/src/experiments/TestGoogleImages.vue diff --git a/frontend/frontend_learn_english/src/Authorization/LearnPage.vue b/frontend/frontend_learn_english/src/Authorization/LearnPage.vue index b022441..b065845 100644 --- a/frontend/frontend_learn_english/src/Authorization/LearnPage.vue +++ b/frontend/frontend_learn_english/src/Authorization/LearnPage.vue @@ -1,10 +1,11 @@ - diff --git a/frontend/frontend_learn_english/src/router/index.js b/frontend/frontend_learn_english/src/router/index.js index 5b59348..ba4f094 100644 --- a/frontend/frontend_learn_english/src/router/index.js +++ b/frontend/frontend_learn_english/src/router/index.js @@ -4,6 +4,7 @@ import MyPlugin from "./MenuPlugin"; import Authorization from "../Authorization/Authorization.vue"; import LearnPage from "../Authorization/LearnPage.vue"; +import TestGoogleImages from "../experiments/TestGoogleImages.vue"; Vue.use(VueRouter); Vue.use(MyPlugin); @@ -17,6 +18,10 @@ const routes = [ path: "/", component: LearnPage, }, + { + path: "/test", + component: TestGoogleImages, + }, ]; const router = new VueRouter({