Example project using Vite + React and creating surveys using (Opinbox Builder)[https://www.npmjs.com/package/opinbox-builder]
(Any other React setup will work too!)
pnpm create vite@latestpnpm add opinbox-builderpnpm add survey-core survey-creator-core survey-react-uiImport Opinbox-Builder styles into the index.css file
/* Import the Opinbox-Builder Styles */
@import "opinbox-builder/dist/style.css";npm run devYou can register custom expression to SurveyJS following the example in src/custom or by looking at the SurveyJS Docu
You can also register custom components to SurveyJS following the example in src/components/DummyComponent or by looking at the SurveyJS Docu
npm run preview