Open domkoder opened 3 months ago
For reference, easiest fix is:
vite-plugin-node-polyfills
vite.config.ts
:
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
// https://vitejs.dev/config/ export default defineConfig({ plugins: [react(), nodePolyfills()], });
After I added the code to read data from the program I got a blank page and some errors on the console