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.
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!