Skip to content

Add useCssModule #833

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

Merged
merged 1 commit into from
Jan 31, 2021
Merged

Conversation

skirtles-code
Copy link
Contributor

@skirtles-code skirtles-code commented Jan 31, 2021

Description of Problem

useCssModule is not documented.

Most aspects of using CSS modules are documented as part of Vue Loader, rather than the core of Vue itself. However, useCssModule is imported directly from vue as part of the global API.

Proposed Solution

Add an API reference entry.

Rendered: https://deploy-preview-833--vue-docs-next-preview.netlify.app/api/global-api.html#usecssmodule

Additional Information

Issue #476 is related.

I haven't documented useCssVars. I'm unclear whether that is even officially supported yet as the only official acknowledgement of it that I can find is in an unmerged RFC: https://github.com/vuejs/rfcs/blob/style-vars-2/active-rfcs/0000-sfc-style-variables.md.

@NataliaTepluhina NataliaTepluhina merged commit 6575898 into vuejs:master Jan 31, 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

Successfully merging this pull request may close these issues.

2 participants