B
B
Banan442020-05-30 03:51:16
HTML
Banan44, 2020-05-30 03:51:16

What is the template tag and why is it needed?

I constantly see then the template of any component is wrapped in a template, they say how cool and useful it is, but personally I don’t know anything about this tag (For me it’s just like a div). The information on the Internet about him is very vague for me, I would like to see a detailed answer (what I would understand for sure), and not a link to some article, thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-05-30
@Banan44

a simple, convenient way to separate components into separate files / separate markup from code.
https://vuejs.org/v2/guide/single-file-components.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question