React start
This commit is contained in:
parent
1bff7f46d7
commit
f303c7423c
40
exam/dist/assets/index-CyGUUT41.js
vendored
Normal file
40
exam/dist/assets/index-CyGUUT41.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9052
exam/dist/assets/index-D81sf-ye.js
vendored
9052
exam/dist/assets/index-D81sf-ye.js
vendored
File diff suppressed because it is too large
Load Diff
20
exam/dist/index.html
vendored
20
exam/dist/index.html
vendored
@ -1,24 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/svg+xml"
|
||||
href="/phpCourse/exam/dist/vite.svg"
|
||||
/>
|
||||
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<script
|
||||
type="module"
|
||||
crossorigin
|
||||
src="/phpCourse/exam/dist/assets/index-D81sf-ye.js"
|
||||
></script>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
crossorigin
|
||||
href="/phpCourse/exam/dist/assets/index-DiwrgTda.css"
|
||||
/>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-CyGUUT41.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/index-DiwrgTda.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "react",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
7
exam/react/public/.htaccess
Normal file
7
exam/react/public/.htaccess
Normal 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]
|
||||
@ -7,5 +7,5 @@ export default defineConfig({
|
||||
build: {
|
||||
outDir: '../dist',
|
||||
},
|
||||
base: 'phpCourse/exam/dist',
|
||||
base: '/phpCourse/exam/dist',
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user