We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using angular 9, thus I installed
npm install @ctrl/ngx-codemirror@3 codemirror
which installed @crtl/[email protected] and [email protected]
@crtl/[email protected]
[email protected]
Then I included the module like described in the docs, ie I added
import { CodemirrorModule } from '@ctrl/ngx-codemirror'; // add to imports: imports: [ BrowserModule, FormsModule, CodemirrorModule, ... ]
to my app.module.ts and
app.module.ts
import 'codemirror/mode/javascript/javascript'; import 'codemirror/mode/markdown/markdown';
to the top of my main.ts
main.ts
Now when the webapp tries to start I get the above error in the browser console, pointing to javascript.js (ie the mode file)
javascript.js
Am I missing something? Without importing any modes it works, but well, it's just half the fun ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using angular 9, thus I installed
which installed
@crtl/[email protected]
and[email protected]
Then I included the module like described in the docs, ie I added
to my
app.module.ts
andto the top of my
main.ts
Now when the webapp tries to start I get the above error in the browser console, pointing to
javascript.js
(ie the mode file)Am I missing something? Without importing any modes it works, but well, it's just half the fun ...
The text was updated successfully, but these errors were encountered: