Home > Web Front-end > Front-end Q&A > What does a vue page consist of?

What does a vue page consist of?

青灯夜游
Release: 2022-01-10 16:32:56
Original
5825 people have browsed it

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

What does a vue page consist of?

The operating environment of this tutorial: windows7 system, vue2.9.6 version, DELL G3 computer.

Composition of vue page

A vue page is mainly divided into three parts.

  • ##

  • <script>export default {Business implementation code}</script>

  • #