Install Semantic UI into your project
OUTDATED
Official guide is pretty clear. I just make some notes here mainly for references later.
install gulp
install gulp -g
install semantic-ui as dev-dependencies
install semantic-ui –save-dev
config screen will popup automatically, I would suggest leave all path as default and include all components
go to (project_root)/semantic/src/theme.config to configure themes.
- Note that most themes don’t have icons and images. For example, change everything to “material”, but leave @icon and @image as “default”.
go to semantic folder and run
gulp build
- output file will be under dist folder
copy semantic.css, semantic.js, themes/default/assets to the folder you want to store css, keep the same relative path for semantic.css and assets folder.
- If you’re using icon and images from different themes, copy those assets also
you should gitignore the dist folder