A vue page consists of three parts: 1. The interface display code (HTML code) wrapped by the template tag; 2. The business implementation code (js script code) wrapped by the script tag; 3. The interface wrapped by the style tag Layout code (css style code).
The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.
A vue page is mainly divided into three parts.
##
Interface display code (note that there can only be one large div)