Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not get Shariff working with Angular 8 #367

Open
kombasltd opened this issue Oct 12, 2019 · 0 comments
Open

Can not get Shariff working with Angular 8 #367

kombasltd opened this issue Oct 12, 2019 · 0 comments

Comments

@kombasltd
Copy link

I am not able to get Shariff working with Angular 8. What I did

  1. Install npm
  2. add import to "styles.css"
    @import "../node_modules/shariff/dist/shariff.complete.css";
  3. add script to "angular.json"
"scripts": [            
              "node_modules/shariff/dist/shariff.complete.js"
            ]
  1. add div to component html
    <div class="shariff" data-button-style="icon" data-orientation="horizontal" data-theme="standard"></div>

Any help would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant