This error occurs when you are trying to use the uni-page-body component in your UniApp project but it cannot be found.

To resolve this issue, you need to make sure that you have installed the @dcloudio/uni-ui package in your project. You can do this by running the following command in your project directory:

npm install @dcloudio/uni-ui

After installing the package, you need to import the uni-page-body component in your page or component file. You can do this by adding the following code:

import { uniPageBody } from '@dcloudio/uni-ui';

Once you have imported the component, you can use it in your template by adding the following code:

<uni-page-body>
  <!-- your content here -->
</uni-page-body>

This should resolve the issue and allow you to use the uni-page-body component in your UniApp project

uniapp+vue3 uni-page-body not found

原文地址: https://www.cveoy.top/t/topic/crFO 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录