From abf2fd30d8618d40d41c5ed30e18614f6155c17d Mon Sep 17 00:00:00 2001 From: "Dmitry Kuzin (DevExpress)" Date: Fri, 28 Aug 2020 16:16:46 +0300 Subject: [PATCH] Move 10th point to 4th in README --- README.md | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 6ae7a39..46aa3c6 100644 --- a/README.md +++ b/README.md @@ -34,16 +34,26 @@ npm start "types": [ "knockout" ] - ``` -4. **Add Survey and Survey Creator components files.** + ``` +4. **Enable experimentalDecorators in the '/src/tsconfig.app.json' file** + ``` + ... + compilerOptions: { + ... + experimentalDecorators: true + ... + } + ... + ``` +5. **Add Survey and Survey Creator components files.** ``` src/app/survey.component.ts src/app/survey.creator.component.ts src/app/customwidget.ts ``` -5. **Use compoents in the app.module.ts file.** +6. **Use compoents in the app.module.ts file.** ``` import { SurveyComponent } from './survey.component'; import { SurveyCreatorComponent } from './survey.creator.component'; @@ -55,20 +65,20 @@ npm start ], ``` -6. **Change markup in the app.component.html file.** +7. **Change markup in the app.component.html file.** ```

Survey

SurveyJS Creator

``` -7. **Add "jQuery polyfill" for bootstrap in the polyfills.ts file (https://github.com/angular/angular-cli/issues/2129).** +8. **Add "jQuery polyfill" for bootstrap in the polyfills.ts file (https://github.com/angular/angular-cli/issues/2129).** ``` import * as jQuery from 'jquery'; window['jQuery'] = jQuery; ``` -8. **Update the "build" section of the angular.json file to include the following:** +9. **Update the "build" section of the angular.json file to include the following:** ``` "styles": [ "src/styles.css", @@ -100,7 +110,7 @@ npm start "node_modules/emotion-ratings/dist/emotion-ratings.js" ] ``` -9. **Add json object for survey to AppComponent** +10. **Add json object for survey to AppComponent** ``` export class AppComponent { ... @@ -110,16 +120,7 @@ npm start ... } ``` -10. **Enable experimentalDecorators in the tsconfig.json** - ``` - ... - compilerOptions: { - ... - experimentalDecorators: true - ... - } - ... - ``` + 11. **Run project.** ``` ng serve