Initialize Vue 3 portfolio site with Vite, Tailwind CSS, and GSAP. Add Docker support and GitHub Actions for deployment. Include essential project files, configurations, and a Product Requirements Document (PRD).
This commit is contained in:
commit
8458694866
47 files changed
+4155
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
|
||||
function viteBase(): string {
|
||||
const raw = process.env.VITE_BASE?.trim();
|
||||
if (!raw) return "/";
|
||||
return raw.endsWith("/") ? raw : `${raw}/`;
|
||||
}
|
||||
|
||||
// For GitHub Pages project sites: VITE_BASE=/repo-name/ (trailing slash optional)
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
base: viteBase(),
|
||||
});
|
||||
Reference in new issue
Block a user