@yasanchezz/vue-infinite-grid 0.2.1 → 0.2.3

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 CHANGED
@@ -25,6 +25,18 @@ createApp(App)
25
25
  .mount('#app');
26
26
  ```
27
27
 
28
+ Or import the component directly, without installing the plugin
29
+
30
+ ``` vue
31
+ <script setup>
32
+ import { VueGrid } from '@yasanchezz/vue-infinite-grid';
33
+ import '@yasanchezz/vue-infinite-grid/dist/vue-infinite-grid.css';
34
+ </script>
35
+ ```
36
+
37
+ Don't forget to import the CSS file once, either in `main.js` or in the
38
+ component that uses `VueGrid`.
39
+
28
40
  ## Usage
29
41
 
30
42
  ``` vue
package/dist/main.d.ts CHANGED
@@ -9,3 +9,4 @@ declare const _default: {
9
9
  install(app: App): void;
10
10
  };
11
11
  export default _default;
12
+ export { VueGrid, };
@@ -179,4 +179,4 @@ var h = ["data-index"], g = /*#__PURE__*/ ((e, t) => {
179
179
  e.component("VueGrid", g);
180
180
  } };
181
181
  //#endregion
182
- export { _ as default };
182
+ export { g as VueGrid, _ as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yasanchezz/vue-infinite-grid",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -9,6 +9,17 @@
9
9
  "module": "./dist/vue-infinite-grid.js",
10
10
  "types": "./dist/main.d.ts",
11
11
  "style": "./dist/vue-infinite-grid.css",
12
+ "scripts": {
13
+ "dev": "vite build -w",
14
+ "build": "run-p type-check \"build-only {@}\" --",
15
+ "preview": "vite preview",
16
+ "build-only": "vite build",
17
+ "type-check": "vue-tsc --build",
18
+ "lint": "run-s \"lint:*\"",
19
+ "lint:oxlint": "oxlint . --fix",
20
+ "lint:eslint": "eslint . --fix --cache",
21
+ "format": "oxfmt src/"
22
+ },
12
23
  "peerDependencies": {
13
24
  "vue": "^3.5.39"
14
25
  },
@@ -40,15 +51,5 @@
40
51
  "node": ">= 24.12.0",
41
52
  "pnpm": ">= 11.10.0"
42
53
  },
43
- "scripts": {
44
- "dev": "vite build -w",
45
- "build": "run-p type-check \"build-only {@}\" --",
46
- "preview": "vite preview",
47
- "build-only": "vite build",
48
- "type-check": "vue-tsc --build",
49
- "lint": "run-s \"lint:*\"",
50
- "lint:oxlint": "oxlint . --fix",
51
- "lint:eslint": "eslint . --fix --cache",
52
- "format": "oxfmt src/"
53
- }
54
- }
54
+ "packageManager": "pnpm@11.17.0"
55
+ }