[Vuejs]-Link css on vue.js

0👍

Another way to do this is by using this inside the style,

result: <style src='../style.css' scoped>

It’s more useful because you can use scoped with this method.

0👍

best way for the link your css file to the vue component is the import your css to the App Header.vue component, like this

<style lang="scss">
    @import "./path/_base.scss"; // please enter your current path
</style>

course sure that used of webpack in your project that help you for modular

Leave a comment