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

unplugin-vue-components

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-vue-components - npm Package Compare versions

Comparing version 0.14.13 to 0.15.0

dist/chunk-C74RX2LX.js

4

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkHP77LAZUjs = require('./chunk-HP77LAZU.js');
var _chunkC74RX2LXjs = require('./chunk-C74RX2LX.js');

@@ -16,2 +16,2 @@

exports.camelCase = _chunk2VCLI5YNjs.camelCase; exports.default = _chunkHP77LAZUjs.unplugin_default; exports.kebabCase = _chunk2VCLI5YNjs.kebabCase; exports.pascalCase = _chunk2VCLI5YNjs.pascalCase;
exports.camelCase = _chunk2VCLI5YNjs.camelCase; exports.default = _chunkC74RX2LXjs.unplugin_default; exports.kebabCase = _chunk2VCLI5YNjs.kebabCase; exports.pascalCase = _chunk2VCLI5YNjs.pascalCase;
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkHP77LAZUjs = require('./chunk-HP77LAZU.js');
var _chunkC74RX2LXjs = require('./chunk-C74RX2LX.js');
require('./chunk-2VCLI5YN.js');

@@ -12,7 +12,7 @@ require('./chunk-6F4PWJZI.js');

config.plugins = config.plugins || [];
config.plugins.unshift(_chunkHP77LAZUjs.unplugin_default.webpack(options));
config.plugins.unshift(_chunkC74RX2LXjs.unplugin_default.webpack(options));
});
this.nuxt.hook("vite:extend", async (vite) => {
vite.config.plugins = vite.config.plugins || [];
vite.config.plugins.push(_chunkHP77LAZUjs.unplugin_default.vite(options));
vite.config.plugins.push(_chunkC74RX2LXjs.unplugin_default.vite(options));
});

@@ -19,0 +19,0 @@ }

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkHP77LAZUjs = require('./chunk-HP77LAZU.js');
var _chunkC74RX2LXjs = require('./chunk-C74RX2LX.js');
require('./chunk-2VCLI5YN.js');

@@ -9,3 +9,3 @@ require('./chunk-6F4PWJZI.js');

// src/rollup.ts
var rollup_default = _chunkHP77LAZUjs.unplugin_default.rollup;
var rollup_default = _chunkC74RX2LXjs.unplugin_default.rollup;

@@ -12,0 +12,0 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkHP77LAZUjs = require('./chunk-HP77LAZU.js');
var _chunkC74RX2LXjs = require('./chunk-C74RX2LX.js');
require('./chunk-2VCLI5YN.js');

@@ -9,3 +9,3 @@ require('./chunk-6F4PWJZI.js');

// src/vite.ts
var vite_default = _chunkHP77LAZUjs.unplugin_default.vite;
var vite_default = _chunkC74RX2LXjs.unplugin_default.vite;

@@ -12,0 +12,0 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkHP77LAZUjs = require('./chunk-HP77LAZU.js');
var _chunkC74RX2LXjs = require('./chunk-C74RX2LX.js');
require('./chunk-2VCLI5YN.js');

@@ -9,3 +9,3 @@ require('./chunk-6F4PWJZI.js');

// src/webpack.ts
var webpack_default = _chunkHP77LAZUjs.unplugin_default.webpack;
var webpack_default = _chunkC74RX2LXjs.unplugin_default.webpack;

@@ -12,0 +12,0 @@

{
"name": "unplugin-vue-components",
"version": "0.14.13",
"version": "0.15.0",
"description": "Components auto importing for Vue",

@@ -64,2 +64,3 @@ "homepage": "https://github.com/antfu/unplugin-vue-components",

"@rollup/pluginutils": "^4.1.1",
"chokidar": "^3.5.2",
"debug": "^4.3.2",

@@ -79,5 +80,5 @@ "fast-glob": "^3.2.7",

"@types/minimatch": "^3.0.5",
"@types/node": "^16.7.10",
"@types/node": "^16.7.13",
"@types/resolve": "^1.20.1",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"bumpp": "^7.1.1",

@@ -92,3 +93,3 @@ "compare-versions": "^3.6.0",

"typescript": "^4.4.2",
"vite": "^2.5.3"
"vite": "^2.5.4"
},

@@ -95,0 +96,0 @@ "peerDependencies": {

@@ -86,3 +86,3 @@ # unplugin-vue-components

You don't need this plugin for Nuxt, use [`@nuxt/components`](https://github.com/nuxt/components) instead.
You might not need this plugin for Nuxt. Use [`@nuxt/components`](https://github.com/nuxt/components) instead.

@@ -109,5 +109,5 @@ <br></details>

Use components in templates as you would usually do, it will import components on demand and there is no `import` and `component registration` required anymore! If you register the parent component asynchronously (or lazy route), the auto-imported components will be code-split along with their parent.
Use components in templates as you would usually do, it will import components on demand, and there is no `import` and `component registration` required anymore! If you register the parent component asynchronously (or lazy route), the auto-imported components will be code-split along with their parent.
Basically, it will automatically turn this
It will automatically turn this

@@ -151,3 +151,3 @@ ```html

To have TypeScript support for auto-imported components, there is [a PR](https://github.com/vuejs/vue-next/pull/3399) to Vue 3 extending the interface of global components. Currently, [Volar](https://github.com/johnsoncodehk/volar) has supported this usage already, if you are using Volar, you can change the config as following to get the support.
To get TypeScript support for auto-imported components, there is [a PR](https://github.com/vuejs/vue-next/pull/3399) to Vue 3 extending the interface of global components. Currently, [Volar](https://github.com/johnsoncodehk/volar) has supported this usage already. If you are using Volar, you can change the config as following to get the support.

@@ -202,3 +202,3 @@ ```ts

You can also write your own resolver easily:
You can also write your own resolver quickly:

@@ -218,5 +218,4 @@ ```ts

If you made other UI libraries configured, please feel free to contribute so it can help others using them out-of-box. Thanks!
If you successfully configured other UI libraries, please feel free to contribute and help others using them out-of-box. Thanks!
## Migrate from `vite-plugin-components`

@@ -223,0 +222,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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