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

How to set title in uniapp

藏色散人
藏色散人Original
2021-02-03 11:41:348707browse

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!

Statement:
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