feat: add basic example

This commit is contained in:
2025-02-06 04:26:07 +08:00
parent 58d7b3c89e
commit 13886502b6
18 changed files with 1568 additions and 111 deletions

View File

@@ -1,6 +1,12 @@
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { TanStackRouterRspack } from '@tanstack/router-plugin/rspack';
export default defineConfig({
plugins: [pluginReact()],
tools: {
rspack: {
plugins: [TanStackRouterRspack()],
},
},
});