Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repository provides a quick start for developers who want to integrate SurveyJS components into their Nuxt projects to build, manage, and analyze surveys and forms.

NotificationsYou must be signed in to change notification settings

surveyjs/surveyjs-nuxtjs

Repository files navigation

This demo shows how to addSurveyJS Form Builder / Survey Creator to a Nuxt application.

Run the Application

git clone https://github.com/surveyjs/surveyjs-nuxtjs.gitcd surveyjs-nuxtjsnpm inpm run dev

Openhttp://localhost:3000 in your web browser.

How to add SurveyJS Form Builder to your Nuxt application

  1. Install thesurvey-creator-vue npm package:

    npm install survey-creator-vue --save
  2. Create a file in theplugins directory and install SurveyJS Vue plugins in this file using thenuxtApp.vueApp.use() method.

  3. Open thenext.config.ts file and do the following in it:

    1. List the plugin file in theplugins array.
    2. List SurveyJS style sheets in thecss array.
  4. Create a component and configure Survey Creator in it (see thecomponents/SurveyCreator.vue file).

  5. Add the component to a page (see theapp.vue file). In this example, the component is wrapped in the<ClientOnly> tag because Survey Creator useslocalStorage to save and restore survey JSON schemas. If your application doesn't use this functionality, you can render Survey Creator on the server.

SurveyJS Resources

About

This repository provides a quick start for developers who want to integrate SurveyJS components into their Nuxt projects to build, manage, and analyze surveys and forms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp