Comparing version 0.7.3 to 0.7.4
@@ -8,2 +8,3 @@ import { defineComponent, useSlots, defineAsyncComponent, ref, onMounted, openBlock, createBlock, unref, createCommentVNode } from "vue"; | ||
setup(__props) { | ||
console.warn("[vike-vue][warning] <ClientOnly> is deprecated, use clientOnly() instead"); | ||
const props = __props; | ||
@@ -10,0 +11,0 @@ const slots = useSlots(); |
{ | ||
"name": "vike-vue", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"type": "module", | ||
@@ -14,2 +14,3 @@ "main": "./dist/index.js", | ||
"./useData": "./dist/hooks/useData.js", | ||
"./clientOnly": "./dist/helpers/clientOnly.js", | ||
"./ClientOnly": { | ||
@@ -64,2 +65,5 @@ "default": "./dist/components/ClientOnly.js", | ||
], | ||
"clientOnly": [ | ||
"./dist/helpers/clientOnly.d.ts" | ||
], | ||
"renderer/onRenderHtml": [ | ||
@@ -66,0 +70,0 @@ "./dist/renderer/onRenderHtml.d.ts" |
@@ -100,7 +100,7 @@ <!-- WARNING: keep links absolute in this file so they work on NPM too --> | ||
## Components | ||
## Helpers | ||
`vike-vue` introduces the following new components: | ||
`vike-vue` introduces the following new helpers: | ||
* [`ClientOnly`](https://vike.dev/ClientOnly): Wrapper to render and load a component only on the client-side. | ||
* [`clientOnly()`](https://vike.dev/clientOnly): load and render a component only on the client-side. | ||
@@ -107,0 +107,0 @@ ## Teleports |
Sorry, the diff of this file is not supported yet
73488
39
902