React client library for Feathery
Use this library to embed and extend Feathery forms in your codebase
For details on how to use this library, check out our documentation.
A: Remember to add a global definition in your Vite config. For example, the following config could be used:
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
resolve: {
alias: {},
},
plugins: [react()],
server: {
port: 3000,
},
preview: {
port: 3000,
},
define: {
// By default, Vite doesn't include shims for NodeJS
global: "window",
},
});