File tree Expand file tree Collapse file tree 5 files changed +4554
-2348
lines changed Expand file tree Collapse file tree 5 files changed +4554
-2348
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ Open http://localhost:3000 in your web browser.
1515
1616## How to add SurveyJS Form Builder to your Nuxt application
1717
18-
19181 . Install the ` survey-creator-vue ` npm package:
2019
2120 ``` bash
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import type { ICreatorOptions } from " survey-creator-core" ;
33import { SurveyCreatorModel } from " survey-creator-core" ;
4+ // Enable Ace Editor in the JSON Editor tab
5+ import " ace-builds/src-noconflict/ace" ;
6+ import " ace-builds/src-noconflict/ext-searchbox" ;
47
58const creatorOptions: ICreatorOptions = {
6- showLogicTab: true ,
7- isAutoSave: true
9+ autoSaveEnabled: true
810};
911
1012const defaultJson = {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export default defineNuxtConfig({
33 compatibilityDate : '2024-04-03' ,
44 devtools : { enabled : true } ,
55 css : [
6- 'survey-core/defaultV2 .min.css' ,
6+ 'survey-core/survey-core .min.css' ,
77 'survey-creator-core/survey-creator-core.min.css'
88 ] ,
99 plugins : [ '~/plugins/surveyjs-form-builder.client.ts' ]
You can’t perform that action at this time.
0 commit comments