vuetify-rework #2

Merged
anonfunc merged 18 commits from vuetify-rework into main 2024-01-24 16:11:55 +01:00
6 changed files with 51 additions and 13 deletions
Showing only changes of commit 63a91dbc83 - Show all commits

25
frontend/.prettierrc.json Normal file
View File

@@ -0,0 +1,25 @@
{
"trailingComma": "none",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 100,
"bracketSameLine": true,
"overrides": [
{
"files": "*.test.js",
"options": {
"semi": true
}
},
{
"files": [
",*.html",
"legacy/**/*.js"
],
"options": {
"tabWidth": 4
}
}
]
}

View File

@@ -1,19 +1,16 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head>
<head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" /> <link href="/favicon.ico" rel="icon" />
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" />
vikingowl marked this conversation as resolved
Review

I think we should serve this directly as dep without jsdeliver.

I think we should serve this directly as dep without jsdeliver.
<title>ALHP Status</title> <title>ALHP Status</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script type="module" src="/src/main.ts"></script> <script src="/src/main.ts" type="module"></script>
</body> </body>
</html> </html>

View File

@@ -8,6 +8,7 @@
}, },
"dependencies": { "dependencies": {
"@mdi/font": "7.0.96", "@mdi/font": "7.0.96",
"fork-awesome": "^1.2.0",
"roboto-fontface": "*", "roboto-fontface": "*",
"vue": "^3.3.0", "vue": "^3.3.0",
"vuetify": "^3.0.0" "vuetify": "^3.0.0"
@@ -16,6 +17,7 @@
"@babel/types": "^7.23.0", "@babel/types": "^7.23.0",
"@types/node": "^20.10.0", "@types/node": "^20.10.0",
"@vitejs/plugin-vue": "^4.5.0", "@vitejs/plugin-vue": "^4.5.0",
"prettier": "^3.2.4",
"sass": "^1.69.0", "sass": "^1.69.0",
"typescript": "^5.3.0", "typescript": "^5.3.0",
"unplugin-fonts": "^1.1.0", "unplugin-fonts": "^1.1.0",

View File

@@ -0,0 +1 @@
@import "fork-awesome/css/fork-awesome.min.css";

View File

@@ -5,13 +5,16 @@
*/ */
// Plugins // Plugins
import { registerPlugins } from '@/plugins' import {registerPlugins} from '@/plugins'
// Components // Components
import App from './App.vue' import App from './App.vue'
// Composables // Composables
import { createApp } from 'vue' import {createApp} from 'vue'
// Styles
import '@/assets/styles/base.scss'
const app = createApp(App) const app = createApp(App)

View File

@@ -529,6 +529,11 @@ fill-range@^7.0.1:
dependencies: dependencies:
to-regex-range "^5.0.1" to-regex-range "^5.0.1"
fork-awesome@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/fork-awesome/-/fork-awesome-1.2.0.tgz#acd43f1e1f54510fa45209c31385b4fde3a95003"
integrity sha512-MNwTBnnudMIweHfDtTY8TeR5fxIAZ2w9o8ITn5XDySqdxa4k5AH8IuAMa89RVxDxgPNlosZxqkFKN5UmHXuYSw==
fsevents@~2.3.2, fsevents@~2.3.3: fsevents@~2.3.2, fsevents@~2.3.3:
version "2.3.3" version "2.3.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
@@ -682,6 +687,11 @@ postcss@^8.4.32, postcss@^8.4.33:
picocolors "^1.0.0" picocolors "^1.0.0"
source-map-js "^1.0.2" source-map-js "^1.0.2"
prettier@^3.2.4:
version "3.2.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.4.tgz#4723cadeac2ce7c9227de758e5ff9b14e075f283"
integrity sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==
queue-microtask@^1.2.2: queue-microtask@^1.2.2:
version "1.2.3" version "1.2.3"
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"