我正在开发一个React项目,通常在每个.js文件中,我需要从模块中导入某些组件或来自其他.js文件的函数。然而,我注意到当我将以下内容导入到我的入口点app.js时:
import '@blueprintjs/core/dist/blueprint.css';
我可以使用 blueprint.css 提供的 CSS 样式来为我的按钮在另一个文件中进行样式设置:
<button type="button" className="pt-button pt-icon-add" onClick={() => this.props.onClick()}>Blueprint button</button>
关于“@”符号影响搜索结果的信息很难找到。
谢谢。