@openvort/vort-ui 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/index.d.ts +2548 -612
- package/dist/resolver.js +3 -3
- package/dist/style.css +1 -1
- package/dist/vort-ui.es.js +2966 -2948
- package/package.json +18 -19
package/dist/resolver.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* 用于 unplugin-vue-components 自动导入
|
|
5
5
|
* 支持 <vort-button> 或 <VortButton> 两种写法
|
|
6
6
|
*
|
|
7
|
-
* 注意:所有组件都从主入口 @
|
|
7
|
+
* 注意:所有组件都从主入口 @openvort/vort-ui 导入
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
// 组件名列表(所有组件都从主入口导入)
|
|
@@ -203,7 +203,7 @@ const componentNames = new Set([
|
|
|
203
203
|
* @example
|
|
204
204
|
* // vite.config.ts
|
|
205
205
|
* import Components from 'unplugin-vue-components/vite';
|
|
206
|
-
* import { VortResolver } from '@
|
|
206
|
+
* import { VortResolver } from '@openvort/vort-ui/resolver';
|
|
207
207
|
*
|
|
208
208
|
* export default defineConfig({
|
|
209
209
|
* plugins: [
|
|
@@ -233,7 +233,7 @@ export function VortResolver() {
|
|
|
233
233
|
if (componentNames.has(componentName) || componentNames.has(name)) {
|
|
234
234
|
return {
|
|
235
235
|
name: componentNames.has(name) ? name : componentName,
|
|
236
|
-
from: "@
|
|
236
|
+
from: "@openvort/vort-ui"
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
239
|
|