diff --git a/public/index.html b/index.html similarity index 85% rename from public/index.html rename to index.html index b5667fe..73859f5 100644 --- a/public/index.html +++ b/index.html @@ -7,7 +7,7 @@ name="description" content="Web site created using create-react-app" /> - + Hijab - App diff --git a/package.json b/package.json index 6084c26..fc29f33 100644 --- a/package.json +++ b/package.json @@ -68,8 +68,8 @@ "zustand": "^4.4.5" }, "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", + "start": "vite --port=3000", + "build": "vite build", "test": "react-scripts test", "eject": "react-scripts eject", "g:api": "node src/Extensions/FileGenerator/generateApi.js", diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..4e690eb --- /dev/null +++ b/vite.config.js @@ -0,0 +1,11 @@ +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; + +export default defineConfig(() => { + return { + build: { + outDir: 'build', + }, + plugins: [react()], + }; +}); \ No newline at end of file