Preparing for system design interviews?  Try bugzed.com →

Unplugin Vue 2 Script Setup

JSON →
library 0.11.4 ·javascript maintenance
verified Jun 17, 2026

The `unplugin-vue2-script-setup` library provides a build-tool-agnostic solution to enable the `<script setup>` syntax from Vue 3 within Vue 2 applications. Powered by `unplugin`, it offers compatibility with various bundlers including Vite, Webpack, Rollup, esbuild, Nuxt, and Vue CLI. This package, currently at version 0.11.4, allows developers to write Vue 2 components with a more concise and modern API by transpiling the `<script setup>` block into standard Vue 2 options API. It requires `@vue/composition-api` to be installed and registered in your Vue application. As of Vue 2.7's release, which integrates `<script setup>` natively, this plugin has entered maintenance mode and is only necessary for Vue 2.6 or earlier projects, with an announced End of Life by the end of 2022.

total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
Script
1
Search engines
1
Humans
2

top countries 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · 🇺🇸 United States