Skip to content

Commit

Permalink
config to host from materialite dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Nov 22, 2023
1 parent fee5378 commit 1686ff3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions demos/react/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: "/materialite",
});
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/materialite/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-9950d0aa.js"></script>
<link rel="stylesheet" href="/assets/index-ec7d968d.css">
<script type="module" crossorigin src="/materialite/assets/index-9950d0aa.js"></script>
<link rel="stylesheet" href="/materialite/assets/index-ec7d968d.css">
</head>

<body>
Expand Down

0 comments on commit 1686ff3

Please sign in to comment.