surveyjs / surveyjs_angular_cli

SurveyJS + Angular CLI Quickstart Template
http://surveyjs.io/
41 stars 52 forks source link

Integration issue on existing angular 5 application - breaks UI #13

Closed BhuvaneshwaranR closed 4 years ago

BhuvaneshwaranR commented 6 years ago

While integrating surveyJS in existing angular application, it breaks the UI of surveyJS builder and SurveyJS form. I have removed the existing custom style file and recompiled it but nothing works. Please help me out to integrate surveyJS in existing angular 5 application. ui breaks

tsv2013 commented 6 years ago

It looks like surveyeditor.css and survey.css styles from the packages haven't been loaded. You can check the https://github.com/surveyjs/surveyjs_angular_cli/blob/master/.angular-cli.json file:

      "styles": [
        "styles.css",
        "../node_modules/bootstrap/dist/css/bootstrap.min.css",
        "../node_modules/survey-angular/survey.css",
        "../node_modules/surveyjs-editor/surveyeditor.css",
BhuvaneshwaranR commented 6 years ago

@tsv2013 It's working now. Thank you :+1: