Sha256: 318d37d294062020d2dd85092fdefb7aad065338a7b3369ddd2dd1e5e07b2c65

Contents?: true

Size: 485 Bytes

Versions: 37

Compression:

Stored size: 485 Bytes

Contents

Description:
    Generates new asset placeholders. Pass the asset name, either CamelCased
    or under_scored.

    To create an asset within a folder, specify the asset's name as a
    path like 'parent/name'.

    This generates a stylesheet stub in app/assets/stylesheets.

    If Sass 3 is available, stylesheets will be generated with the .scss extension.

Example:
    `bin/rails generate assets posts`

    Posts assets.
        Stylesheet:     app/assets/stylesheets/posts.css

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
railties-6.1.7.10 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.9 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.8 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.7 lib/rails/generators/rails/assets/USAGE
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/rails/assets/USAGE
railties-6.1.7.6 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.5 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.4 lib/rails/generators/rails/assets/USAGE
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/rails/assets/USAGE
railties-6.1.7.3 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.2 lib/rails/generators/rails/assets/USAGE
railties-6.1.7.1 lib/rails/generators/rails/assets/USAGE
railties-6.1.7 lib/rails/generators/rails/assets/USAGE
railties-6.1.6.1 lib/rails/generators/rails/assets/USAGE
railties-6.1.6 lib/rails/generators/rails/assets/USAGE
railties-6.1.5.1 lib/rails/generators/rails/assets/USAGE
railties-6.1.5 lib/rails/generators/rails/assets/USAGE
railties-6.1.4.7 lib/rails/generators/rails/assets/USAGE
railties-6.1.4.6 lib/rails/generators/rails/assets/USAGE
railties-6.1.4.5 lib/rails/generators/rails/assets/USAGE