- A file format in Vue.js, using the
.vue extension, that encapsulates a component’s template (HTML), logic (JavaScript/TypeScript), and styling (CSS) within a single file using three main language blocks: <template>, <script>, and <style>. The SFC format was introduced in Vue 2 to solve problems with global component definitions and to improve component maintainability.
- Related terms: Vue.js, Component-based software engineering, Higher-order component, Pattern library
- Previous term: Single Responsibility Principle
- Next term: Single-page application
- Random term: JavaServer Pages (webglossary.info/random 🎲)