Sha256: bf1c4e86724658e08ee943b8a1299dd061c50d04e074bf9fb211a0aab07f2126
Contents?: true
Size: 905 Bytes
Versions: 3
Compression:
Stored size: 905 Bytes
Contents
module Spree module Frontend class CopyStorefrontGenerator < Rails::Generators::Base desc 'Copies storefront from spree frontend to your application' def self.source_paths [ File.expand_path('../../../../../app', __dir__), File.expand_path('../../../../../app/assets/images', __dir__), File.expand_path('../../../../../app/helpers/spree', __dir__), File.expand_path('../../../../../app/assets/stylesheets/spree/frontend/variables', __dir__) ] end def copy_storefront directory 'views', './app/views' directory 'noimage', './app/assets/images/noimage' directory 'homepage', './app/assets/images/homepage' directory 'meganav', './app/assets/images/meganav' template 'variables.scss', './app/assets/stylesheets/spree/frontend/variables/variables.scss' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems