Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Sass Syntax #103

Closed
Closed
@raneio

Description

@raneio

Expected behavior

<style lang="sass" scoped>
$color: blue
.test
  background-color: $color
</style>

Actual behavior

<style lang="sass" scoped>
$color: blue;
.test {
  background-color: $color;
}
</style>

Steps to reproduce the behavior

If you set lang="sass" it should use sass syntax, not scss syntax. In my opinion, it should use "indentedSyntax: true" automatically when used lang="sass".

Now you can fix it adding follows lines to rollup.config.js

vue({
  scss: {
    indentedSyntax: true
  },
}),

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions