I want to use semantic-ui in an ember-cli project, having problems turning on fonts.
bower install semantic-ui
Import css and fonts to Brocfile.js
app.import('bower_components/semantic-ui/dist/semantic.css');
app.import('bower_components/semantic-ui/dist/semantic.js');
var semanticFonts =
pickFiles('bower_components/semantic-ui/dist/themes/default/assets/fonts', {
srcDir: '/',
files: ['**/*'],
destDir: 'assets/themes/default/assets/fonts'
});
It works because it semantic.csssearches themes/default/assets/fontsfor itself.
Please note destDir: 'assets/themes/default/assets/fonts', this is because ember-cli puts semantic-cssin a folder assets/, and I have to put fonts in this folder. But this seems like a hack, is there a better solution?
Finally, the semantic-uidist folder does not contain various build options, I need to compile the project myself, for example: using gulp ?, I thought that using the gazebo should be simple.