[broken] bumping vue/vuetify/vuex/...

This commit is contained in:
msramalho
2024-10-29 11:41:23 +00:00
parent 9382e71270
commit 1a0e32a640
8 changed files with 5706 additions and 2577 deletions

View File

@@ -4,7 +4,7 @@ module.exports = {
node: true, node: true,
}, },
extends: [ extends: [
"plugin:vue/essential", "plugin:vue/base",
"eslint:recommended", "eslint:recommended",
"plugin:prettier/recommended", "plugin:prettier/recommended",
], ],

View File

@@ -6,17 +6,17 @@ yarn install
``` ```
### Compiles and hot-reloads for development ### Compiles and hot-reloads for development
``` ```bash
yarn serve yarn serve
``` ```
### Compiles and minifies for production ### Compiles and minifies for production
``` ```bash
yarn build yarn build
``` ```
### Lints and fixes files ### Lints and fixes files
``` ```bash
yarn lint yarn lint
``` ```

3349
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve --port 8081", "serve": "vue-cli-service serve --port 8081 --skip-plugins @vue/cli-plugin-eslint",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
@@ -14,10 +14,10 @@
"firebaseui": "^6.0.2", "firebaseui": "^6.0.2",
"gapi-script": "^1.2.0", "gapi-script": "^1.2.0",
"googleapis": "^134.0.0", "googleapis": "^134.0.0",
"vue": "^2.6.14", "vue": "^3",
"vue-router": "^3.5.1", "vue-router": "^4",
"vuetify": "^2.6.15", "vuetify": "^3",
"vuex": "^3.6.2", "vuex": "^4",
"vuex-easy-firestore": "^1.37.2" "vuex-easy-firestore": "^1.37.2"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -1,18 +1,23 @@
import Vue from "vue"; import { createApp } from "vue";
import Vuetify from "vuetify"; import { createVuetify } from "vuetify";
import * as components from 'vuetify/components';
import * as directives from 'vuetify/directives';
import App from "./App.vue"; import App from "./App.vue";
import router from "./router"; import router from "./router";
import store from "./store"; import store from "./store";
import "vuetify/dist/vuetify.min.css"; import "vuetify/styles";
import "@mdi/font/css/materialdesignicons.css"; import "@mdi/font/css/materialdesignicons.css";
import "./styles/global.css";
Vue.use(Vuetify); const vuetify = createVuetify({
components,
directives,
});
Vue.config.productionTip = false; const app = createApp(App);
new Vue({ app.use(router);
router, app.use(store);
store, app.use(vuetify);
vuetify: new Vuetify(),
render: (h) => h(App), app.mount("#app");
}).$mount("#app");

View File

@@ -1,32 +1,34 @@
import Vue from "vue"; import { createRouter, createWebHistory } from 'vue-router';
import VueRouter from "vue-router"; import HomeView from '../views/HomeView.vue';
import HomeView from "../views/HomeView.vue"; import SheetView from '../views/SheetView.vue';
Vue.use(VueRouter);
const routes = [ const routes = [
{ {
path: "/", path: '/',
name: "home", name: 'home',
component: HomeView, component: HomeView,
}, },
{ {
path: "/privacy", path: '/sheets',
name: "Privacy Policy", name: 'sheets',
component: () => component: SheetView,
import(/* webpackChunkName: "privacy" */ "../views/PrivacyView.vue"),
}, },
{ {
path: "/tos", path: '/privacy',
name: "Terms of Use", name: 'Privacy Policy',
component: () => component: () =>
import(/* webpackChunkName: "tos" */ "../views/TOSView.vue"), import(/* webpackChunkName: "privacy" */ '../views/PrivacyView.vue'),
},
{
path: '/tos',
name: 'Terms of Use',
component: () =>
import(/* webpackChunkName: "tos" */ '../views/TOSView.vue'),
}, },
]; ];
const router = new VueRouter({ const router = createRouter({
mode: "history", history: createWebHistory(process.env.BASE_URL),
base: process.env.BASE_URL,
routes, routes,
}); });

3
src/styles/global.css Normal file
View File

@@ -0,0 +1,3 @@
html {
overflow-y: auto;
}

4850
yarn.lock

File diff suppressed because it is too large Load Diff