I want to create a css file from scss and this file has to save the changes after i stop writing.
Where do I have to define it in Vite and how to do it? I am using Vue 3.
I want to create a css file from scss and this file has to save the changes after i stop writing.
Where do I have to define it in Vite and how to do it? I am using Vue 3.
Copyright © 2021 Jogjafile Inc.
With Vite you can just
npm i -D sass, create astyle.scssfile for example in thesrc/assets/stylesfolder.If you need to add it globally, just include it in your
main.js/.tsfile like:Otherwise add the same line in the component
<style lang="scss" scoped>tag.