mirror of
https://github.com/bellingcat/auto-archiver-setup-tool.git
synced 2026-06-08 03:28:37 +03:00
[broken] bumping vue/vuetify/vuex/...
This commit is contained in:
@@ -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",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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
3349
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -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": {
|
||||||
|
|||||||
27
src/main.js
27
src/main.js
@@ -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");
|
|
||||||
|
|||||||
@@ -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
3
src/styles/global.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
html {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user