Skip to content

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