From a487a6d2072748f615b0e023268c01b0adebcf5c Mon Sep 17 00:00:00 2001 From: Konstantinos Paparas Date: Thu, 27 Jul 2023 13:30:20 +0200 Subject: [PATCH] refactor: adds auto-import support for the ui-library --- assets/css/tailwind.css | 2 +- components/NavigationMenu.vue | 1 - .../account/home/AccountInformation.vue | 1 - components/account/home/ApiKeys.vue | 1 - .../account/home/CancelSubscription.vue | 1 - components/account/home/ChangePassword.vue | 1 - components/account/home/DangerZone.vue | 1 - components/account/login/LoginForm.vue | 1 - components/account/password/PasswordForm.vue | 1 - components/account/password/PasswordReset.vue | 1 - components/account/signup/SignupForm.vue | 1 - components/checkout/plan/ChangePlanDialog.vue | 1 - components/common/ButtonLink.vue | 2 - components/download/DownloadButton.vue | 1 - components/footer/FooterIconLinks.vue | 2 - components/footer/PageFooter.vue | 2 - components/header/PageHeader.vue | 1 - components/plans/blocks/PlanBox.vue | 1 - components/plans/details/CustomPlan.vue | 2 - error.vue | 1 - modules/ui-library/module.ts | 42 +++++++++++++++++++ .../ui-library/runtime/plugin.ts | 1 + nuxt.config.ts | 1 + package.json | 2 +- pnpm-lock.yaml | 17 ++++---- 25 files changed, 54 insertions(+), 34 deletions(-) create mode 100644 modules/ui-library/module.ts rename plugins/ui-library.ts => modules/ui-library/runtime/plugin.ts (91%) diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index a90a793f..1d9d6494 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -1,4 +1,4 @@ -@import '@rotki/ui-library/dist/style.css'; +@import '@rotki/ui-library/style.css'; @tailwind base; @tailwind components; diff --git a/components/NavigationMenu.vue b/components/NavigationMenu.vue index 5b20b46e..44493269 100644 --- a/components/NavigationMenu.vue +++ b/components/NavigationMenu.vue @@ -1,5 +1,4 @@ diff --git a/components/account/home/AccountInformation.vue b/components/account/home/AccountInformation.vue index df0ffc24..ee4e1584 100644 --- a/components/account/home/AccountInformation.vue +++ b/components/account/home/AccountInformation.vue @@ -1,5 +1,4 @@ diff --git a/error.vue b/error.vue index 6a5164e5..0a6a889a 100644 --- a/error.vue +++ b/error.vue @@ -1,5 +1,4 @@