Skip to content

Commit d88e030

Browse files
committedOct 20, 2023
commit
1 parent a350726 commit d88e030

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"version": "0.0.0",
66
"type": "module",
77
"scripts": {
8-
"predeploy": "npm run dev",
9-
"deploy": "gh-pages -d build",
8+
"predeploy": "npm run build",
9+
"deploy": "gh-pages -d dist",
1010
"dev": "vite",
1111
"build": "vite build",
1212
"lint": "eslint src --ext js,jsx --report-unused-disable-directives --max-warnings 0",

‎vite.config.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'vite'
2-
import react from '@vitejs/plugin-react'
1+
import { defineConfig } from "vite";
2+
import react from "@vitejs/plugin-react";
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6+
base: "/Portfolio/",
67
plugins: [react()],
7-
})
8+
});

0 commit comments

Comments
 (0)
Please sign in to comment.