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

using less, the notes (//) in style will be run #8899

Closed
narcissus209 opened this issue Aug 2, 2023 · 2 comments
Closed

using less, the notes (//) in style will be run #8899

narcissus209 opened this issue Aug 2, 2023 · 2 comments

Comments

@narcissus209
Copy link

Vue version

3.3.4

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-ndwrnc?file=src%2FApp.vue

Steps to reproduce

<template>
  <div>test</div>
</template>

<script lang="ts" setup>
const height = 123
</script>

<style lang="less" scoped>
div {
  // height: v-bind(height);
}
</style>

image

What is expected?

--7a7a37b1-height:123; should not exist in style

What is actually happening?

style has --7a7a37b1-height:123;

System Info

No response

Any additional comments?

No response

@Shyam-Chen
Copy link
Contributor

In Sass/SCSS, using double slashes for comments is also the same.

@edison1105
Copy link
Member

fixed via #5409
It has not been released yet.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants