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

@dumijs/preset-vue

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dumijs/preset-vue

Vue support plugins for dumi

  • 2.4.14
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@dumijs/preset-vue

dumi Vue3 tech stack support

Features

  • Supports both Single File Component and JSX/TSX
  • Inline demo and external demo support
  • Support CodeSandbox and StackBlitz preview
  • Webpack processing
  • API Table support
  • Support live demo

Install

npm i @dumijs/preset-vue

Options

checkOptions

Vue component metadata parsing options

For example, the following configuration can make the InternalType type skip parsing

vue: {
  checkerOptions: {
    ignore: ['InternalType']
  },
},

For details, please refer to :point_right: MetaCheckerOptions

tsconfigPath

The tsconfig used by the checker, the default value is <project-root>/tsconfig.json

directory

By default, this option is the repository.directory option in package.json.

Mainly used to change the root directory of checker, must be a relative directory.

By default, if your project is in a Monorepo, the root directory of the parser is the Monorepo project directory

compiler

The live demo requires a browser-side compiler, so @babel/standalone needs to be loaded. We provide the babelStandaloneCDN option to change its loading address. The default url is https://cdn.bootcdn.net/ajax/libs/babel-standalone/7.22.17/babel.min.js

vue: {
  compiler: {
    babelStandaloneCDN: 'https://cdn.bootcdn.net/ajax/libs/babel-standalone/7.22.17/babel.min.js'
  },
},

Keywords

FAQs

Package last updated on 21 Nov 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