Bu sahifa hali tarjima qilinmagan
Tarjima qoshish uchun havola boyicha o'tib Pull Request oching (havolaga o'tish).
Standart til uchun tarkibni ko'rsatadi.
The Plugin provides a general scope which needs for read and update effector’s stores, call effector’s events. Required for SSR.
Plugins
VueSSRPlugin({ scope, scopeName })
Deprecated
Since effector 23.0.0 VueSSRPlugin
is deprecated. Use EffectorScopePlugin
instead.
Arguments
scope
ScopescopeName?
custom scopeName (default:root
)
Examples
Basic usage
import { createSSRApp } from "vue";
import { VueSSRPlugin } from "effector-vue/ssr";
import { fork } from "effector";
const app = createSSRApp(AppComponent);
const scope = fork();
app.use(
VueSSRPlugin({
scope,
scopeName: "app-scope-name",
}),
);
Tarjima jamiyat tomonidan qollanilyapti
Ingliz tilidagi hujjatlar eng dolzarb hisoblanadi, chunki u effector guruhi tomonidan yozilgan va yangilanadi. Hujjatlarni boshqa tillarga tarjima qilish jamiyat tomonidan kuch va istaklar mavjud bo'lganda amalga oshiriladi.
Esda tutingki, tarjima qilingan maqolalar yangilanmasligi mumkin, shuning uchun eng aniq va dolzarb ma'lumot uchun hujjatlarning asl inglizcha versiyasidan foydalanishni tavsiya etamiz.