2
我很難在我的反應js組件中導入我的uikit.js。如何在不使用uikit組件的情況下在反應js中導入uikit js?
這是我的進口樣品中,uikit.css作品,但uikit.js提供了這樣那樣的錯誤:
import './uikit/css/uikit.css';
import './uikit/js/uikit.js';
Line 5: 'define' is not defined no-undef
Line 5: 'define' is not defined no-undef
Line 573: 'DocumentTouch' is not defined no-undef
Line 1107: 'MSGesture' is not defined no-undef
Line 5039: Unexpected use of 'location' no-restricted-globals
Line 5043: Unexpected use of 'location' no-restricted-globals
Line 6679: Unexpected use of 'location' no-restricted-globals