Skip to content

Sass is breaking on @extend “.bg-faded” #273

@obromios

Description

@obromios

On using rails-composer, with the rails-devise-pundit option, I had the following error

Sass::SyntaxError - ".authform form" failed to @extend ".bg-faded".
The selector ".bg-faded" was not found.
Use "@extend .bg-faded !optional" if the extend should be able to fail.

This was fixed using this SO answer. However, I do not understand why it happened in the first place.

Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions