If you’ve done any work with Vue.js and SASS (or SCSS from here on), you may have run into this very common issue: you have SCSS variables in one file that you want to make available to your Vue components.
The good news is that the Vue CLI makes it incredibly easy to support writing SCSS, and with Vue’s single-file components, you can simply add lang="scss"
to the <style>
block (docs).
from DZone.com Feed https://ift.tt/3GpBHVE
No comments:
Post a Comment