Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel2
Web
Commits
0562f490
Commit
0562f490
authored
Jun 03, 2025
by
Mele
Browse files
fixed frontend
parent
7bd13781
Changes
4
Show whitespace changes
Inline
Side-by-side
frontend/dockerfile
0 → 100644
View file @
0562f490
# frontend/Dockerfile
FROM
node:latest
WORKDIR
/app
# Nur package.json + lockfile kopieren
COPY
package*.json ./
# Installiere ALLE Abhängigkeiten – inkl. vue-chartjs & chart.js
RUN
npm
install
# Jetzt den Rest des Projekts kopieren
COPY
. .
EXPOSE
5173
CMD
["npm", "run", "dev"]
\ No newline at end of file
frontend/package-lock.json
View file @
0562f490
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
"vue-router"
:
"^4.5.0"
"vue-router"
:
"^4.5.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@tsconfig/node22"
:
"^22.0.
1
"
,
"@tsconfig/node22"
:
"^22.0.
2
"
,
"@types/node"
:
"^22.1
4.0
"
,
"@types/node"
:
"^22.1
5.29
"
,
"@vitejs/plugin-vue"
:
"^5.2.3"
,
"@vitejs/plugin-vue"
:
"^5.2.3"
,
"@vue/eslint-config-prettier"
:
"^10.2.0"
,
"@vue/eslint-config-prettier"
:
"^10.2.0"
,
"@vue/eslint-config-typescript"
:
"^14.5.0"
,
"@vue/eslint-config-typescript"
:
"^14.5.0"
,
...
...
frontend/package.json
View file @
0562f490
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
"vue-router"
:
"^4.5.0"
"vue-router"
:
"^4.5.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@tsconfig/node22"
:
"^22.0.
1
"
,
"@tsconfig/node22"
:
"^22.0.
2
"
,
"@types/node"
:
"^22.1
4.0
"
,
"@types/node"
:
"^22.1
5.29
"
,
"@vitejs/plugin-vue"
:
"^5.2.3"
,
"@vitejs/plugin-vue"
:
"^5.2.3"
,
"@vue/eslint-config-prettier"
:
"^10.2.0"
,
"@vue/eslint-config-prettier"
:
"^10.2.0"
,
"@vue/eslint-config-typescript"
:
"^14.5.0"
,
"@vue/eslint-config-typescript"
:
"^14.5.0"
,
...
...
frontend/vite.config.ts
View file @
0562f490
...
@@ -15,4 +15,8 @@ export default defineConfig({
...
@@ -15,4 +15,8 @@ export default defineConfig({
'
@
'
:
fileURLToPath
(
new
URL
(
'
./src
'
,
import
.
meta
.
url
))
'
@
'
:
fileURLToPath
(
new
URL
(
'
./src
'
,
import
.
meta
.
url
))
},
},
},
},
server
:
{
host
:
true
,
// Oder: '0.0.0.0'
port
:
5173
,
}
})
})
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment