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

CSS modules suggestions #1372

Open
dimensi opened this issue Jul 30, 2019 · 5 comments
Open

CSS modules suggestions #1372

dimensi opened this issue Jul 30, 2019 · 5 comments

Comments

@dimensi
Copy link
Contributor

dimensi commented Jul 30, 2019

Can we add css modules suggestions in vue template?
How it's work there https://marketplace.visualstudio.com/items?itemName=clinyong.vscode-css-modules, but for template?

@octref
Copy link
Member

octref commented Aug 7, 2019

You need to be more specific. What's your setup. How your template looks like. What exact feature you want.

@dimensi
Copy link
Contributor Author

dimensi commented Sep 9, 2019

@octref, I talked about the lack of tips in the templates when working with css modules.
image
image

@JamesCoyle
Copy link

JamesCoyle commented Sep 18, 2019

@octref

This would be super helpful for me. I'd also like to add to this a bit.

If I type scss I get the following:
image

It would be great if these options would also include <style> scss-module.vue (and the other language variants) which would insert the same snippet as the scoped one but with the scoped attribute replaced with module:

<style lang="scss" module></style>

@octref
Copy link
Member

octref commented Nov 11, 2019

@JamesCoyle You can easily add your own snippets, see https://vuejs.github.io/vetur/snippet.html

@robertpiosik
Copy link

@octref I'm not sure this issue was correctly understood as the assigned labels look wrong from my point of view. This should be labelled as feature and template-interpolation.

I'm giving +1 to what @dimensi demands, it would be helpful to have suggestions for css modules classes inside the template.

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

5 participants