From fd26b5150fe9aafa89421a7ffc2021432433d0fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A2=A8=E5=AD=98?= <8935232+Dave195@user.noreply.gitee.com> Date: Thu, 8 May 2025 02:35:14 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/components/install.md.=20import?= =?UTF-8?q?=20{=20createSSRApp=20}=20from=20'vue'=20//=20=E5=BF=85?= =?UTF-8?q?=E9=A1=BB=E5=9C=A8=E5=BC=95=E5=85=A5createSSRApp=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E5=BC=95=E5=85=A5=20uView=20UI=EF=BC=8C=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E4=B8=8D=E8=83=BD=E5=8F=8D=20import=20uView=20from=20?= =?UTF-8?q?'./uni=5Fmodules/vk-uview-ui';?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 墨存 <8935232+Dave195@user.noreply.gitee.com> --- docs/components/install.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/components/install.md b/docs/components/install.md index f39994a..aedfe08 100644 --- a/docs/components/install.md +++ b/docs/components/install.md @@ -89,10 +89,11 @@ npm i sass-loader -D * 3、main.js 引入 vk-uview-ui ```js -// 引入 uView UI +import { createSSRApp } from 'vue' +// 引入 uView UI,必须在引入createSSRApp后,顺序不能反 import uView from './uni_modules/vk-uview-ui'; -import { createSSRApp } from 'vue' + export function createApp() { const app = createSSRApp(App) -- Gitee