@vuebro/loader-sfc 1.5.2 → 1.5.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 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Vue SFC Loader
|
|
2
2
|
|
|
3
|
-
Single File Component loader
|
|
3
|
+
Vue3 Single File Component (SFC) loader. Load .vue files directly from your browser without any build step.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
Install
|
|
7
|
+
Install `@vuebro/loader-sfc` with npm
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npm install @vuebro/loader-sfc
|
|
@@ -30,3 +30,5 @@ const AdminPage = defineAsyncComponent(() =>
|
|
|
30
30
|
<AdminPage />
|
|
31
31
|
</template>
|
|
32
32
|
```
|
|
33
|
+
|
|
34
|
+
A simple example of using `@vuebro/loader-sfc` in a template Vue 3 + TypeScript + Vite application for dynamic loading and compilation of an SFC module during application runtime in the browser can be found in the repository: [loader-sfc-example](https://github.com/vuebro/loader-sfc-example)
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "git+https://github.com/vuebro/loader-sfc.git"
|
|
22
22
|
},
|
|
23
23
|
"license": "AGPL-3.0-only",
|
|
24
|
-
"version": "1.5.
|
|
24
|
+
"version": "1.5.4",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"main": "./dist/loader-sfc.js",
|
|
27
27
|
"types": "./dist/loader-sfc.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build": "tsc && vite build"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@eslint/js": "^9.
|
|
34
|
+
"@eslint/js": "^9.34.0",
|
|
35
35
|
"@rollup/plugin-terser": "^0.4.4",
|
|
36
36
|
"@types/hash-sum": "^1.0.2",
|
|
37
37
|
"@types/node": "^24.3.0",
|