Skip to content

Glossary: Vue.js

<style scoped>

Also written: scoped, scoped style

A style block whose CSS applies only to this component. Vue adds a `data-v-...` attribute to make the rules local.

Where the book teaches it

Related terms

Single-file component (SFC)