Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146223 | Jul 26,2019 07:54 AM UTC | Aug 27,2019 10:35 AM UTC | React - EJ 2 | 7 |
![]() |
Tags: Diagram |
Hi,
We have system using React+TypeScript base on AMD system
module. We would like to add your library ej2-react-diagrams to our application.
Question is it possible without migrating to SystemJS? Maybe
some examples or suggestions?
Hi,
I will try to to give you a little more details :)
I have d.ts
file where I store all my external definitions of types example:
///
<reference path="react/react-global.d.ts" />
///
<reference path="requirejs/require.d.ts" />
///
<reference path="classnames/classnames.d.ts" />
///
<reference path="underscore/underscore.d.ts" />
In this file I would like to add:
///
<reference
path="../../node_modules/@syncfusion/ej2-react-diagrams/index.d.ts"
/>
How ever build will fail with errors like this:
Error Build:Cannot find module
'./diagram'
Error Build:Cannot find module
'./symbol-palette'
Error Build:Cannot find module
'./overview'
Error Build:Cannot find module
'@syncfusion/ej2-react-base'
Error Build:Cannot find module
'@syncfusion/ej2-diagrams'
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.