Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: in SCSS #361

Closed
iDerekLi opened this issue Jul 26, 2021 · 1 comment
Closed

BUG: in SCSS #361

iDerekLi opened this issue Jul 26, 2021 · 1 comment

Comments

@iDerekLi
Copy link

BUG: in SCSS

System Info

 OS: Windows 11
   CPU: (8) x64 AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
   Memory: 535.72 MB / 6.94 GB
 Binaries:
   Node: 12.15.0 - C:\Program Files\nodejs\node.EXE
   Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
   npm: 6.13.4 - C:\Program Files\nodejs\npm.CMD
 Browsers:
   Edge: Spartan (44.22000.1.0), Chromium (91.0.864.67)
   Internet Explorer: 11.0.22000.1
 npmPackages:
   "sass": "^1.26.5",
   "sass-loader": "^8.0.2"
 vueCLI:
    @vue/cli 4.5.13

CSS

css parsed variables are normal.

<script setup>
const width = 123;
</script>
<style scoped>
.canvas {
  position: relative;
  width: v-bind(width + "px");
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}
</style>

image

SCSS

scss parsing variables are not equal.

<script setup>
const width = 123;
</script>

<style lang="scss" scoped>
.canvas {
  position: relative;
  width: v-bind(width + "px");
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}
</style>

image

Originally posted by @iDerekLi in #231 (comment)

@iDerekLi iDerekLi changed the title # BUG: in SCSS BUG: in SCSS Jul 26, 2021
@posva
Copy link
Member

posva commented Jul 26, 2021

Open an issue in vue-next with an actual repro

@posva posva closed this as completed Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants