E
E
Erl2020-10-20 22:11:34
Vue.js
Erl, 2020-10-20 22:11:34

Why is html not visible in the source code of the page?

I'm not sure if you can throw links, but I'll try, for example this page is made using vue js + vue router

spoiler
Ссылка на пример

in the inspector, I see the DOM, but when viewing the source code, it's just my index.html file that lies in the public directory
spoiler
5f8f363c30ca9334292673.png

Is it normal?
After all, it turns out that the search engine sees only this part, and will not index the page

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2020-10-20
@NooBiToo

Welcome to the wonderful world of front-end frameworks.
Search engines will see (Google for sure, but in general with grief in half), but if indexing is important to you, then you need to master SSR.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question