Nochmal das Alles ???
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="./src/assets/react.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>beoanswer_react</title>
|
||||
<title>beoanswer</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "beoanswer_react",
|
||||
"private": true,
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
margin: auto;
|
||||
border: 1px solid blue;
|
||||
background: lightgray;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
@@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig(({ mode }) => {
|
||||
return {
|
||||
plugins: [react()],
|
||||
base: mode === 'production' ? '/beoanswer/' : '/', // Nur in Production Unterverzeichnis
|
||||
server: {
|
||||
// Proxy nur für Development
|
||||
proxy: mode === 'development' ? {
|
||||
|
||||
Reference in New Issue
Block a user