Skip to content

Integrate image in theia #15148

Answered by msujew
israhadhri asked this question in General
Discussion options

You must be logged in to vote

Hey @israhadhri,

can you give a bit more context? How are you trying to integrate the image, and are you facing any errors in the build process?

Note that Theia builds the JS code from the lib directory, and not from your src directory. Therefore, all require calls to files that are placed in the src directory must use a relative path. See for example:

import '../../src/browser/style/index.css';

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by israhadhri
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants