From e0cc4e40ba8c0bcd1c62907e0e6e1e484b5031dd Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 16 Jul 2024 21:49:10 -0300 Subject: [PATCH] Change components auto import casing type --- .eslintrc.js | 6 +- .vscode/settings.json | 2 +- quasar.config.js | 7 +- src/layouts/LoginLayout.vue | 4 +- src/layouts/MainLayout.vue | 72 +++++++++---------- src/pages/Cms/Home.vue | 20 +++--- src/pages/Ecomerce/Catalog.vue | 100 +++++++++++++-------------- src/pages/Ecomerce/Invoices.vue | 34 ++++----- src/pages/Ecomerce/Orders.vue | 40 +++++------ src/pages/Ecomerce/Ticket.vue | 60 ++++++++-------- src/pages/ErrorNotFound.vue | 2 +- src/pages/IndexPage.vue | 4 +- src/pages/Login/Login.vue | 18 ++--- src/pages/Login/RememberPassword.vue | 10 +-- src/pages/Login/ResetPassword.vue | 28 ++++---- src/stores/user.js | 3 +- 16 files changed, 204 insertions(+), 206 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 9ff9f7b0..4265d98f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -73,10 +73,8 @@ module.exports = { }, overrides: [ { - extends: [ - 'plugin:vue/vue3-essential', - ], - files: ['src/**/*.{js,vue,scss}'], // Aplica ESLint solo a archivos .js y .vue dentro de src + extends: ['plugin:vue/vue3-essential'], + files: ['src/**/*.{js,vue,scss}'], // Aplica ESLint solo a archivos .js, .vue y .scss dentro de src (Proyecto de quasar) rules: { semi: 'off', indent: ['error', 4, { SwitchCase: 1 }], diff --git a/.vscode/settings.json b/.vscode/settings.json index 00be94bb..e7d7d29c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,5 +13,5 @@ "javascriptreact", "typescript", "vue" - ] + ], } diff --git a/quasar.config.js b/quasar.config.js index 34413d4e..1fb70d5e 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -104,15 +104,14 @@ module.exports = configure(function (ctx) { type: 'http' }, port: 8080, - open: true, // opens browser window automatically - + open: false, // static: __dirname, headers: { 'Access-Control-Allow-Origin': '*' }, // stats: { chunks: false }, proxy: { '/api': 'http://localhost:3000', '/': { - target: 'http://localhost/projects/hedera-web', + target: 'http://localhost:3001', bypass: (req) => req.path !== '/' ? req.path : null } } @@ -121,7 +120,7 @@ module.exports = configure(function (ctx) { // https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-framework framework: { config: {}, - + autoImportComponentCase: 'pascal', // iconSet: 'material-icons', // Quasar icon set // lang: 'en-US', // Quasar language pack diff --git a/src/layouts/LoginLayout.vue b/src/layouts/LoginLayout.vue index 5a5769af..d04343ac 100644 --- a/src/layouts/LoginLayout.vue +++ b/src/layouts/LoginLayout.vue @@ -1,5 +1,5 @@