Skip to content

Commit

Permalink
Fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kuzin (DevExpress) committed Aug 28, 2020
1 parent 62dccf4 commit 95e6f45
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ npm start
```

2. **Add SurveyJS: Survey Library and Survey Creator dependencies.**
```
npm install -save survey-angular
npm install -save surveyjs-widgets
npm install -save survey-creator
npm install -save survey-pdf
npm install -save bootstrap
```
```
npm install -save survey-angular
npm install -save surveyjs-widgets
npm install -save survey-creator
npm install -save survey-pdf
npm install -save bootstrap
```

3. **Add knockout typings to the '/src/tsconfig.app.json' file.**
```
Expand All @@ -37,11 +37,11 @@ npm start
```

4. **Add Survey and Survey Creator components files.**
```
src/app/survey.component.ts
src/app/survey.creator.component.ts
src/app/customwidget.ts
```
```
src/app/survey.component.ts
src/app/survey.creator.component.ts
src/app/customwidget.ts
```

5. **Use compoents in the app.module.ts file.**
```
Expand Down Expand Up @@ -101,26 +101,25 @@ npm start
]
```
9. **Add json object for survey to AppComponent**
```
```
export class AppComponent {
...
json = {
...
};
...
}
```
```
10. **Enable experimentalDecorators in the tsconfig.json**
```
```
...
compilerOptions: {
...
experimentalDecorators: true
...
}
...
```
```
11. **Run project.**
```
ng serve
Expand Down

0 comments on commit 95e6f45

Please sign in to comment.