简体   繁体   English

使用语义UI与React和Meteor

[英]Using Semantic UI with React and Meteor

Is it possible to install Semantic UI through NPM and import it in to the meteor client? 是否可以通过NPM安装语义UI并将其导入流星客户端? Hope I'm making sense here. 希望我在这里有意义。 I have been doing this with bootstrap. 我一直用bootstrap做这个。

  1. Install Bootstrap NPM 安装Bootstrap NPM
  2. import it to my main css 将它导入我的主要CSS

    @import '{}/node_modules/bootstrap/scss/bootstrap.scss'; @import'{} /node_modules/bootstrap/scss/bootstrap.scss';

你可以做到这一点,但是meteor中已经有一个官方软件包( https://atmospherejs.com/semantic/ui

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM