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