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

vue file has two style(lang="stylus") format wrong #736

Closed
sheepdragon opened this issue Mar 21, 2018 · 6 comments
Closed

vue file has two style(lang="stylus") format wrong #736

sheepdragon opened this issue Mar 21, 2018 · 6 comments

Comments

@sheepdragon
Copy link

sheepdragon commented Mar 21, 2018

Info

  • Platform: Win
  • Vetur version:0.11.7
  • VS Code version:1.21.1

Problem

before formatting:
1

after formatting:
2

The two style became the same

@HerringtonDarkholme
Copy link
Member

HerringtonDarkholme commented Mar 21, 2018

We currently don't support multiple style blocks.

Please also see #430

@gooqiao
Copy link

gooqiao commented May 2, 2018

Hopefully it can be supported because it does not violate the vue style guide, and it does have its actual effect.
for example:
I have a page with a dialog on the page. I wrote the dialog for this page as a component. However, there is something on the dialog that is the same as on the page. Assuming I use the style tag with scoped, I will have to write it both in the dialog component and in the page component.

@octref
Copy link
Member

octref commented Aug 10, 2018

Related to #532 too.

@ghost
Copy link

ghost commented Feb 20, 2019

same as #499

@octref
Copy link
Member

octref commented Mar 6, 2019

Tracked in #499.

1 similar comment
@octref
Copy link
Member

octref commented Mar 6, 2019

Tracked in #499.

@octref octref closed this as completed Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants