vite-html-multiplier-changer
v0.0.3
Published
"# vite-html-multiplier-changer" dear applicant, here you just create a file with a capital letter. As in react with the name Header.html, the name of the components reused for it should be similar to the name of the file
Downloads
2
Readme
"# vite-html-multiplier-changer" dear applicant, here you just create a file with a capital letter. As in react with the name Header.html, the name of the components reused for it should be similar to the name of the file
, also with a capital letter. It should be in the form of a self-closing tag.
in the src pars attribute you need to write the path where the very HTML file that you want to reuse will be located, that same HTML component in other words It’s very simple my friend, I’ll take screenshots for you too to simplify your layout.
if in a reused component you want to change all the text content in a certain tag, you need to write the date text data-text-1="text".
in the tag itself, my dear You are an applicant, you need to indicate the same attribute with the same number with the description that you want to replace for exemple:
if you, my dear applicant, want to change the text specifically in a certain tag, you need to take its curly braces twice and specify certain attributes inside, for example:
in the reused component itself, my dear applicant, you need to indicate the following brand, for example:
in this attribute data-mark-1 with a number you need to indicate the value of this attribute word or combination What do you want to change to and you won’t believe it will work.
that's not all, my dear applicant, a bonus awaits you, you still have the opportunity to change the attributes of the reused component in a certain tag that you want, you just need to specify the date attribute with a certain number and the value of this attribute should be the name of the attribute that you want to replace, for example
very important point Be careful the attribute that you want to change in a certain tag must be at the end of the tag the data-attribute-1="src" must be before it only then it will work. for exemple:
in the reused component itself, you indicate the same date attribute with the value of what you want to change to, for example:
my dear applicant, there is one more option. Very useful, let’s say you want to change all the text in a certain tag in a reused component, you can do this by specifying the date text with a certain number with the value text very important at the end of this tag, for example:
To summarize, we can change the text completely in the tag in the reused component, we can change the attributes that we want, and we can change the words or phrases that we want in the reused component.
I’ll make more screenshots for you to make it even more clear. Why did I tell you all this? Good luck to you, my dear applicant.