Home > Web Front-end > uni-app > How to set title in uniapp

How to set title in uniapp

藏色散人
Release: 2023-01-13 00:44:37
Original
8799 people have browsed it

How to set title in uniapp: 1. In pages.json, configure the app global title globalStyle; 2. Configure the navigationBarTitleText value in different page options.

How to set title in uniapp

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, DELL G3 computer.

uni-app sets the page title

In pages.json, you can configure the app global title globalStyle,

If you want to configure a different title for each page, you need to configure the navigationBarTitleText value in different page options

Title of each page will be displayed first.

Recommended: "uniapp tutorial"

The above is the detailed content of How to set title in uniapp. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template