You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Node-sass has a 'data' property that could be used to prepend common statements into sass scopes. This would be very useful to import common sass, like variables, in every component.
But setting the 'data' property, actually overwrites the components styles.
should import shared variables into the styles of every component with lang="scss", prepending the content of the 'data' property to the component's style code.
Actual behavior
The content of the 'data' property overwrites the styles of every component with lang="scss".
Why is it important
The expected behavior would be a very dry way to maintain common Sass code, relevant for every component, like variables and mixins.
Node-sass has a 'data' property that could be used to prepend common statements into sass scopes. This would be very useful to import common sass, like variables, in every component.
But setting the 'data' property, actually overwrites the components styles.
Expected behavior
should import shared variables into the styles of every component with lang="scss", prepending the content of the 'data' property to the component's style code.
Actual behavior
The content of the 'data' property overwrites the styles of every component with lang="scss".
Why is it important
The expected behavior would be a very dry way to maintain common Sass code, relevant for every component, like variables and mixins.
The 'data' property seems to work as expected with webpack, as discussed here vuejs-templates/webpack#149
The text was updated successfully, but these errors were encountered: