Hy, For simple apps why bother with frameworks ? Loot at this simple counter
<html lang="de"> <head> <meta charset="utf-8"> <title>title</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://efpage.de/DML/DML_homepage/lib/DML-min.js"></script> <style> button { background: lightgreen; padding: 10px; margin: 5px; } </style> </head> <body> <script> function Counter () { button("inc").onclick = () =>value.innerText = Number(value.innerText)+1 let value = idiv("0", "font-weight:bold"); button("dec").onclick = () => value.innerText = Number(value.innerText)-1 } Counter(); br() Counter(); </script> </body> </html>
You can test it here :
Counter
Dude, the point of this post is about VueJS framework, not writing a counter.
I agree with you :-)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hy,
For simple apps why bother with frameworks ?
Loot at this simple counter
You can test it here :
Counter
Dude, the point of this post is about VueJS framework, not writing a counter.
I agree with you :-)