Initialize web application via create-cloudflare CLI
Details: C3 = create-cloudflare@2.62.0 project name = anum-frontend framework = react-router framework cli = create-react-router@7.9.6 package manager = pnpm@10.26.1 wrangler = wrangler@4.57.0 git = 2.52.0
This commit is contained in:
commit
475596444a
21 changed files with 3292 additions and 0 deletions
14
vite.config.ts
Normal file
14
vite.config.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { reactRouter } from "@react-router/dev/vite";
|
||||
import { cloudflare } from "@cloudflare/vite-plugin";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { defineConfig } from "vite";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
cloudflare({ viteEnvironment: { name: "ssr" } }),
|
||||
tailwindcss(),
|
||||
reactRouter(),
|
||||
tsconfigPaths(),
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue