angular2-recaptcha icon indicating copy to clipboard operation
angular2-recaptcha copied to clipboard

Angular 5: No SystemJS file

Open cbruce11 opened this issue 7 years ago • 1 comments

I have no SystemJS file to put the set up in and now I'm getting the following error:

're-captcha' is not a known element:

  1. If 're-captcha' is an Angular component, then verify that it is part of this module.
  2. If 're-captcha' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message

cbruce11 avatar May 08 '18 20:05 cbruce11

You can import the module on angular-cli where you want to use it:

import { ReCaptchaModule } from 'angular2-recaptcha';

@NgModule({ 
imports: [...,ReCaptchaModule]
})

jgithaiga avatar May 10 '18 22:05 jgithaiga