This template provides a minimal setup to get Foundry woriking with Vite and React. It includes:
cd
into itbun install
bun dev
bun send-eth <your-address>
to send 1 ETH to your account in the development chainhttp://localhost:3000
in your browser and connect to the walletIf you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
parserOptions
property like this: parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
plugin:@typescript-eslint/recommended
to plugin:@typescript-eslint/recommended-type-checked
or plugin:@typescript-eslint/strict-type-checked
plugin:@typescript-eslint/stylistic-type-checked
plugin:react/recommended
& plugin:react/jsx-runtime
to the extends
list