React start

This commit is contained in:
2024-07-23 02:02:13 +02:00
parent 1bff7f46d7
commit f303c7423c
6 changed files with 53 additions and 9070 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "react",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
+7
View File
@@ -0,0 +1,7 @@
RewriteEngine On
RewriteBase /phpCourse/exam/dist
## Disallow direct entry over the dist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ / [L,NC,QSA,F]
+1 -1
View File
@@ -7,5 +7,5 @@ export default defineConfig({
build: {
outDir: '../dist',
},
base: 'phpCourse/exam/dist',
base: '/phpCourse/exam/dist',
});