You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-16Lines changed: 12 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,23 @@ This is a survey builder component for vue.js applications.
4
4
### How to install
5
5
You can install the component using `npm i -S vue-survey-builder`
6
6
7
+
### Demo
8
+
You can see the demo [here](http://vue-survey-builder.s3-website-us-east-1.amazonaws.com/#/)
9
+
10
+
### Demo Source Code
11
+
Please look at the sample code [here](https://github.com/rajeshwarpatlolla/vue-survey-builder-test)
12
+
7
13
### Steps to use
8
14
*Step 1:*
9
-
Install is using the above command from npm registry
10
-
There are two components,
11
-
1.**SurveyBuilder**: You can use this to build the survey.
12
-
2.**QuestionsView**: You can use this to view the list of questions added.
15
+
Once you it install, you can import the `SurveyBuilder` by
13
16
14
-
You can import them using
17
+
`import SurveyBuilder from 'SurveyBuilder';`
15
18
16
-
`import { SurveyBuilder } from 'SurveyBuilder';`
19
+
*Step 2:*
20
+
We are using [this JSON](https://github.com/FissionHQ/vue-survey-builder/blob/master/src/survey-builder.json) to build any type of question. Depending on the type of question, only few keys are used in the whole JSON.
17
21
18
-
`import { QuestionsView } from 'SurveyBuilder';`
22
+
*Step 3:*
19
23
20
-
*Step 2:*
21
-
We are using [this JSON]() to build any type of question. Depending on the type of question, only few keys are used in the whole JSON.
22
24
23
25
### Keys of the JSON
24
26
-**id** : This is a unique field, which will be created dynamically for every qiestion. This field is required for all type of questions.
@@ -48,12 +50,6 @@ We are using [this JSON]() to build any type of question. Depending on the type
48
50
- DATE
49
51
- TIME
50
52
51
-
### Demo
52
-
You can see the demo [here]()
53
-
54
-
### Demo Source Code
55
-
Please look at the sample code [here]()
56
-
57
53
### Versions
58
54
#### 0.1.0
59
55
This version is the initial official release of this component. It has all the required functionalities to build the surveys using vue.js
@@ -70,4 +66,4 @@ This version is the initial official release of this component. It has all the r
0 commit comments