Home  >  Article  >  Web Front-end  >  What does a vue page consist of?

What does a vue page consist of?

青灯夜游
青灯夜游Original
2022-01-10 16:32:565767browse

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>

  • #