Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unplugin-vue-define-options

Package Overview
Dependencies
Maintainers
0
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-vue-define-options

Add defineOptions macro for Vue <script setup>.

  • 1.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

unplugin-vue-define-options npm

Options API can be declared using the defineOptions in <script setup>, specifically to be able to set name, props, emits, and render inside of one function.

If you support this feature, feel free to hit like 👍 or comment on RFC Discussion. Thanks!

Features

  • ✨ With this macro, you can use Options API in Vue <script setup>.
  • 💚 Supports both Vue 2.7 and Vue 3 out-of-the-box.
  • 🦾 Full TypeScript support.
  • ⚡️ Supports most bundlers powered by unplugin.
    • Vite, Nuxt
    • Webpack, Rspack, Vue CLI
    • Rollup 3
    • esbuild
    • and more...

Usage

📜 Documentation

See Also

Sponsors

License

MIT License © 2022-PRESENT 三咲智子

Keywords

FAQs

Package last updated on 11 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc