We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow specifying CSS module component scope in <template> attribute.
<template>
Before:
<template lang="pug"> .CTable__table .CTable__row .CTable__column .CTable__column .item </template>
After:
<template lang="pug" css-module-scope="CTable"> .table .row .column .column .self__item </template>
Allow using self__ special scope to refer to own component classes.
self__
For nested paths, scope works the same: css-module-scope="VHome_Header".
css-module-scope="VHome_Header"
Some components can consist of (mostly) shared classes only, so this feature will enhance code readability and DX drastically.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Allow specifying CSS module component scope in
<template>
attribute.Example
Before:
After:
Allow using
self__
special scope to refer to own component classes.For nested paths, scope works the same:
css-module-scope="VHome_Header"
.Motivation:
Some components can consist of (mostly) shared classes only, so this feature will enhance code readability and DX drastically.
The text was updated successfully, but these errors were encountered: