Question T7115
Visible to All Users

SurveyJS Vue

created 4 years ago

Hi,

I have a quick question, is SurveyJS for Vue a standalone system or still api based?
I would like to self host Survey Creator and Render the Surveys themselves.

Answers approved by surveyjs Support

created 4 years ago

Hello,
All our libraries are independent and can work separately from our API or from other libraries. Please read the following doc.

Thank you,
Andrew
SurveyJS Team

    Comments (2)

      Hi Andrew,

      Awesome and is there support for bootstrap 4? Because I get a peer dependency issue for bootstrap 3.3.6

        Hello,

        Here is the live demo with BS4 - https://plnkr.co/edit/tC9NCQFdzqLGtbK9
        But to be honest we don't suppose BS a the mainstream theme for SurveyJS. Because some questions are custom and don't have corresponding visual representation in BS. We recommend to use the default or modern themes.

        Thanks, Serge
        SurveyJS Team

        Other Answers

        created 4 years ago

        Hi Serge,

        Figured it out no worries, got it working with bootstrap 5.

        Just wanted to know if it is possible to remove the left and right side gray block, their class is svd-splitter?

          Show previous comments (13)

            Hello,

            Yes, here is the sample - https://surveyjs.io/Examples/Survey-Creator?id=addproperties&theme=default - how to add custom properties to survey and page objects

            Thanks, Serge
            SurvbeyJS Team

              Yes I have implemented that, just wanted to know how I can add the GUID to page and survey?

              Like what I have done here with the question

              Code
              this.surveyCreator.onQuestionAdded// eslint-disable-next-line no-shadow .add((sender, options) => { const q = options.question const t = q.getType() q.name = `Question${t[0].toUpperCase()}${t.substring(1)}` q.uuid = uuidv4() })

                Hello,

                You can use the https://surveyjs.io/Documentation/Survey-Creator?id=surveycreator#onPageAdded event.
                As for survey - you can assign your guid when you assign survey JSON to creator.

                Thanks, Serge
                SurveyJS Team