From 891199e65a1f5303b6db28dbeece8206f65e4e96 Mon Sep 17 00:00:00 2001 From: Mateus Eduardo Batista de Medeiros Date: Wed, 22 May 2024 16:18:32 -0300 Subject: [PATCH 1/3] fix: remove vue compat --- package.json | 4 +--- vite.config.js | 13 ++----------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index be5da66..3771487 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,7 @@ "format": "lint --fix" }, "dependencies": { - "@vue/compat": "^3.4.21", - "@weni/unnnic-system": "^2.0.0-beta.0", + "@weni/unnnic-system": "2.0.7", "axios": "^1.6.7", "logrocket": "^8.1.0", "moment": "^2.30.1", @@ -24,7 +23,6 @@ "devDependencies": { "@rushstack/eslint-patch": "^1.3.3", "@vitejs/plugin-vue": "^4.5.2", - "@vue/compiler-sfc": "^3.4.21", "@vue/eslint-config-prettier": "^8.0.0", "@vue/test-utils": "^2.4.4", "@weni/eslint-config": "^1.0.1", diff --git a/vite.config.js b/vite.config.js index 418d222..7af8629 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,15 +3,7 @@ import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue({ - template: { - compilerOptions: { - compatConfig: { - MODE: 3 - } - } - } - })], + plugins: [vue()], css: { preprocessorOptions: { scss: { @@ -23,8 +15,7 @@ export default defineConfig({ }, resolve: { alias: { - "@": fileURLToPath(new URL("./src", import.meta.url)), - vue: '@vue/compat' + '@': fileURLToPath(new URL('./src', import.meta.url)), }, }, }); From 9fa9cd6192ab35afe56459dc5a76849710d58557 Mon Sep 17 00:00:00 2001 From: Mateus Eduardo Batista de Medeiros Date: Thu, 23 May 2024 11:54:10 -0300 Subject: [PATCH 2/3] fix: ClassPage components update and refact --- src/views/ClassPage.vue | 88 +++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 48 deletions(-) diff --git a/src/views/ClassPage.vue b/src/views/ClassPage.vue index b72c20d..ab8f82f 100644 --- a/src/views/ClassPage.vue +++ b/src/views/ClassPage.vue @@ -3,19 +3,16 @@
- + />
Suas anotações
-
-
Clique aqui + Clique aqui + para começar a fazer anotações.
-
+ />
@@ -62,13 +58,12 @@ showValue readonly /> - -
Deixe um comentário -
+
- -