uniapp

Guide Uniapp cross-platform development with configuration, component, and API examples.

1|Updated Jul 4, 2023
One-click install
npx skills add https://github.com/wesweet/docs.panrui.top --skill uniapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uniapp
Source: https://github.com/wesweet/docs.panrui.top/tree/main/docs/uniapp
Command: npx skills add https://github.com/wesweet/docs.panrui.top --skill uniapp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a centralized resource for Uniapp development, offering solutions to common challenges and best practices for building cross-platform applications.

Core Features & Use Cases

  • Configuration Guidance: Learn how to manage pages.json for navigation and app structure.
  • Component Library Usage: Find practical examples and fixes for using popular UI libraries like uView UI.
  • API Explanations: Understand core Uniapp APIs for file handling, page lifecycle, and app instance access.
  • Performance Optimization: Discover techniques to improve App-side network request speed.

Quick Start

Refer to the base.md file for instructions on handling file uploads in Uniapp.

Frequently Asked Questions about uniapp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure pages.json for navigation in a uniapp cross-platform application?

To configure pages.json for uniapp navigation, you define the application's page routing, window appearance, and tab bar structure. This centralized configuration manages the entire app architecture and navigation behavior across mobile platforms.

What is the best way to integrate uView UI components into a uniapp project?

Integrating uView UI into a uniapp project involves installing the library and configuring specific dependencies. The guide provides practical examples and common fixes for resolving component library usage issues during frontend development.

How do I handle file uploads using core uniapp APIs?

Handling file uploads in uniapp requires utilizing specific core APIs for file handling. The guide offers step-by-step instructions and code snippets for managing file selection and upload processes across different mobile platforms.

Does uniapp provide lifecycle management for page transitions and app instance access?

Uniapp provides comprehensive lifecycle management for page transitions and app instance access. The guide explains core APIs to monitor page states, access the global app instance, and manage component lifecycles efficiently.

Why are my App-side network requests slow and how do I optimize uniapp performance?

App-side network requests in uniapp can be slow due to inefficient request handling. The guide provides performance optimization techniques to improve network request speed and enhance overall cross-platform application responsiveness.