Closed nsantiago2719 closed 8 years ago
@silvercrow27 Which version? Could you try the master branch?
I'm currently using the master branch in my Gemfile.
This is the whole log
I've tested it and it works.
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require semantic-ui
application.scss
/*
*= require pages
*= require_self
*/
pages.scss
@import 'semantic-ui';
I found your log shows vendor/assets/javascripts/semantic_ui/semantic_ui.js
,i can't find the js file.
I have the semantic_ui.js
in that path...
This are the content of that file.
///////////////////////////////////////////////////////////////////////////////
// !!! AUTOMATICALLY GENERATED FILE. BE CAREFUL WHEN YOU MERGING CHANGES !!! //
///////////////////////////////////////////////////////////////////////////////
//= require semantic_ui/definitions/modules/accordion.js
//= require semantic_ui/definitions/behaviors/api.js
//= require semantic_ui/definitions/modules/checkbox.js
//= require semantic_ui/definitions/behaviors/colorize.js
//= require semantic_ui/definitions/modules/dimmer.js
//= require semantic_ui/definitions/modules/dropdown.js
//= require semantic_ui/definitions/behaviors/form.js
//= require semantic_ui/definitions/modules/modal.js
//= require semantic_ui/definitions/modules/nag.js
//= require semantic_ui/definitions/modules/popup.js
//= require semantic_ui/definitions/modules/progress.js
//= require semantic_ui/definitions/modules/rating.js
//= require semantic_ui/definitions/modules/search.js
//= require semantic_ui/definitions/modules/shape.js
//= require semantic_ui/definitions/modules/sidebar.js
//= require semantic_ui/definitions/globals/site.js
//= require semantic_ui/definitions/behaviors/state.js
//= require semantic_ui/definitions/modules/sticky.js
//= require semantic_ui/definitions/modules/tab.js
//= require semantic_ui/definitions/modules/transition.js
//= require semantic_ui/definitions/modules/video.js
//= require semantic_ui/definitions/behaviors/visibility.js
//= require semantic_ui/definitions/behaviors/visit.js
@silvercrow27 It should be
//= require semantic-ui/modal
//= require semantic-ui/dropdown
look https://github.com/doabit/semantic-ui-sass/blob/master/app/assets/javascripts/semantic-ui.js
Ok thanks the JS worked.. I'm having the same problem with the css. I browse ([this]https://github.com/doabit/semantic-ui-sass/blob/master/app/assets/stylesheets/semantic-ui.scss) file if it's the same with the JS thing. But it's not. This is the content of semantic_ui.css.
/*
*******************************************************************************
** !!! AUTOMATICALLY GENERATED FILE. BE CAREFUL WHEN YOU MERGING CHANGES !!! **
*******************************************************************************
*/
/*
*= require semantic_ui/definitions/modules/accordion.less
*= require semantic_ui/definitions/views/ad.less
*= require semantic_ui/definitions/collections/breadcrumb.less
*= require semantic_ui/definitions/elements/button.less
*= require semantic_ui/definitions/views/card.less
*= require semantic_ui/definitions/modules/checkbox.less
*= require semantic_ui/definitions/views/comment.less
*= require semantic_ui/definitions/modules/dimmer.less
*= require semantic_ui/definitions/elements/divider.less
*= require semantic_ui/definitions/modules/dropdown.less
*= require semantic_ui/definitions/views/feed.less
*= require semantic_ui/definitions/elements/flag.less
*= require semantic_ui/definitions/collections/form.less
*= require semantic_ui/definitions/collections/grid.less
*= require semantic_ui/definitions/elements/header.less
*= require semantic_ui/definitions/elements/icon.less
*= require semantic_ui/definitions/elements/image.less
*= require semantic_ui/definitions/elements/input.less
*= require semantic_ui/definitions/views/item.less
*= require semantic_ui/definitions/elements/label.less
*= require semantic_ui/definitions/elements/list.less
*= require semantic_ui/definitions/elements/loader.less
*= require semantic_ui/definitions/collections/menu.less
*= require semantic_ui/definitions/collections/message.less
*= require semantic_ui/definitions/modules/modal.less
*= require semantic_ui/definitions/modules/nag.less
*= require semantic_ui/definitions/modules/popup.less
*= require semantic_ui/definitions/modules/progress.less
*= require semantic_ui/definitions/elements/rail.less
*= require semantic_ui/definitions/modules/rating.less
*= require semantic_ui/definitions/globals/reset.less
*= require semantic_ui/definitions/elements/reveal.less
*= require semantic_ui/definitions/modules/search.less
*= require semantic_ui/definitions/elements/segment.less
*= require semantic_ui/definitions/modules/shape.less
*= require semantic_ui/definitions/modules/sidebar.less
*= require semantic_ui/definitions/globals/site.less
*= require semantic_ui/definitions/views/statistic.less
*= require semantic_ui/definitions/elements/step.less
*= require semantic_ui/definitions/modules/sticky.less
*= require semantic_ui/definitions/modules/tab.less
*= require semantic_ui/definitions/collections/table.less
*= require semantic_ui/definitions/modules/transition.less
*= require semantic_ui/definitions/modules/video.less
*/```
Stylesheet should be:
@import 'semantic-ui';
or
@import "semantic-ui/collections/menu";
or
@import 'semantic-ui/globals/all';
Ok thanks a lot .
I'm deploying a Rails App in server and using this gem. But every time I run "cap production deploy:initial" this error appearing. I have added in application.js and application.css.scss this codes