You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>simple fork of petite-vue. I made it for feauters I needed in my projects, because development of petite-vue inactive.
1
+
# power-vue
2
2
3
-
# petite-vue
4
-
5
-
`petite-vue` is an alternative distribution of [Vue](https://vuejs.org) optimized for [progressive enhancement](https://developer.mozilla.org/en-US/docs/Glossary/Progressive_Enhancement). It provides the same template syntax and reactivity mental model as standard Vue. However, it is specifically optimized for "sprinkling" a small amount of interactions on an existing HTML page rendered by a server framework. See more details on [how it differs from standard Vue](#comparison-with-standard-vue).
3
+
`power-vue` is a fork of `petite-vue`, which is an alternative distribution of [Vue](https://vuejs.org) optimized for [progressive enhancement](https://developer.mozilla.org/en-US/docs/Glossary/Progressive_Enhancement). It provides the same template syntax and reactivity mental model as standard Vue. However, it is specifically optimized for "sprinkling" a small amount of interactions on an existing HTML page rendered by a server framework. See more details on [how it differs from standard Vue](#comparison-with-standard-vue).
6
4
7
5
- Only ~6kb
8
6
- Vue-compatible template syntax
@@ -11,20 +9,16 @@
11
9
12
10
## Status
13
11
14
-
>for this fork I will maintain it, if you face problem please report or make PR
15
-
16
-
- This is pretty new. There are probably bugs and there might still be API changes, so **use at your own risk.** Is it usable though? Very much. Check out the [examples](https://github.com/vuejs/petite-vue/tree/main/examples) to see what it's capable of.
17
-
18
-
- The issue list is intentionally disabled because I have higher priority things to focus on for now and don't want to be distracted. If you found a bug, you'll have to either workaround it or submit a PR to fix it yourself. That said, feel free to use the discussions tab to help each other out.
12
+
-`petite-vue` is a great and kinda stable library, but it's development inactive for now, so I decided make this fork to continue development. feel free to open issue or PR.
19
13
20
-
-Feature requests are unlikely to be accepted at this time - the scope of this project is intentionally kept to a bare minimum.
14
+
-my focus is support plugins, and better support fo web components
21
15
22
16
## Usage
23
17
24
-
`petite-vue` can be used without a build step. Simply load it from a CDN:
18
+
`power-vue` can be used without a build step. Simply load it from a CDN:
@@ -308,7 +360,7 @@ const html = ({ el, get, effect }) => {
308
360
}
309
361
```
310
362
311
-
### Custom Delimiters (0.3+)
363
+
### Custom Delimiters
312
364
313
365
You can use custom delimiters by passing `$delimiters` to your root scope. This is useful when working alongside a server-side templating language that also uses mustaches:
314
366
@@ -323,7 +375,7 @@ createApp({
323
375
You can write custome directive then distrbute it as a pacage, then add it to create vue, like:
Check out the [examples directory](https://github.com/vuejs/petite-vue/tree/main/examples).
404
+
Check out the [examples directory](https://github.com/ws-rush/power-vue/tree/main/examples).
353
405
354
406
## Features
355
407
356
-
### `petite-vue` only
408
+
### `power-vue` only
357
409
358
410
-`v-scope`
359
411
-`v-effect`
@@ -390,7 +442,7 @@ Check out the [examples directory](https://github.com/vuejs/petite-vue/tree/main
390
442
Some features are dropped because they have a relatively low utility/size ratio in the context of progressive enhancement. If you need these features, you should probably just use standard Vue.
391
443
392
444
-`ref()`, `computed()` etc.
393
-
- Render functions (`petite-vue` has no virtual DOM)
445
+
- Render functions (`power-vue` has no virtual DOM)
394
446
- Reactivity for Collection Types (Map, Set, etc., removed for smaller size)
0 commit comments