Skip to content

Commit

Permalink
add sass back
Browse files Browse the repository at this point in the history
  • Loading branch information
damienlethiec committed Feb 12, 2018
1 parent 5092aaf commit d91817a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile.tt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ruby '<%= RUBY_VERSION %>'
gem 'pg'<%= gemfile_requirement('pg') %>
gem 'puma'<%= gemfile_requirement('puma') %>
gem 'rails', '<%= Rails.version %>'
gem 'sass-rails'<%= gemfile_requirement('sass-rails') %>

gem 'uglifier'<%= gemfile_requirement('uglifier') %>
gem 'webpacker'
Expand Down
15 changes: 15 additions & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Graphical variables
// @import "config/fonts";
// @import "config/colors";
// @import "config/bootstrap_variables";

// External libraries
// @import "bootstrap-sprockets";
// @import "bootstrap";
// @import "font-awesome-sprockets";
// @import "font-awesome";

// Your CSS partials
// @import "layouts/index";
// @import "components/index";
// @import "pages/index";
3 changes: 2 additions & 1 deletion template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def setup_gems
setup_erd
setup_sidekiq
setup_komponent if @komponent
setup_haml if @haml
setup_devise if @devise
setup_haml if @haml
end

def setup_friendly_id
Expand Down Expand Up @@ -179,6 +179,7 @@ def add_devise

def setup_front_end
copy_file '.browserslistrc'
copy_file 'app/assets/stylesheets/application.scss'
remove_file 'app/assets/stylesheets/application.css'
end

Expand Down

0 comments on commit d91817a

Please sign in to comment.