You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know that much about react but when you require('xterm') or import 'xterm' you only get js unless your using some special loader. Webpack has a special loader to handle style/css but you have to point to xterm's css file using the import statement. Refer to your bundler/loader's documentation for loading css.
To be clear. The css and js files are stored separately and usually need multiple import statements to get them both.
Details
Steps to reproduce
new Terminal()
andterm.open(document.getElementById('terminal-container'));
Looks like not load xterm css file ? I use xterm with react.
The text was updated successfully, but these errors were encountered: