1. (vue3.x+vite) encapsulated components

Front-end technology community general directory (please check this blog before subscribing)

Related blogs

2. (vue3.x+vite) component registration and calling

1: Create component directory package and create related project structure

Insert image description here

2: Write component content (index.vue)

Insert image description here

3: Add registration component method (index.js)

Insert image description here

4: Add routing

Guess you like

Origin blog.csdn.net/QQ98281642/article/details/133168191