Sha256: 29b2bf2b0f1da211b657fc020147ab51bb263f43c74603b7f8fbc218a969c4f2

Contents?: true

Size: 353 Bytes

Versions: 6

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true
# auto_register: false

require "slim"
require "dry/view"
require "<%= slice_path %>/slice"

module <%= application_module %>
  module <%= slice_module %>
    module Web
      class View < Dry::View
        config.paths = [Slice.root.join("web/templates")]
        config.layout = "application"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha7 lib/snowpack/generators/slice/templates/lib/__slice_path__/web/view.rb.tt
snowpack-1.0.0.alpha6 lib/snowpack/generators/slice/templates/lib/__slice_path__/web/view.rb.tt
snowpack-1.0.0.alpha5 lib/snowpack/generators/slice/templates/lib/__slice_path__/web/view.rb.tt
snowpack-1.0.0.alpha4 lib/snowpack/generators/slice/templates/lib/__slice_path__/web/view.rb.tt
snowpack-1.0.0.alpha3 lib/snowpack/generators/slice/templates/lib/__slice_path__/web/view.rb.tt
snowpack-1.0.0.alpha2 lib/snowpack/generators/slice/templates/lib/__slice_path__/web/view.rb.tt