I like the vue
Vue.js is an open-source model–view–viewmodel front end JavaScript framework for building user interfaces and single-page applications.
get started
npm init vue@latest
or with yarn
yarn init vue@latest
I love it <3
Q: What is Vue.js?
A: Vue.js is an open-source model–view–viewmodel front end JavaScript
framework for building user interfaces and single-page applications. It was
created by Evan You, and is maintained by him and the rest of the active core
team members.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width" />
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<div id="dialogs">{/div
<script type="module" src="/src/main.js"></script>
</body>
</html>
<template>
<teleport to="#dialogs">
<div class="the-dialog">
<div class="the-dialog_container">
<div class="the-dialog_header">
{{ heading }}
</div>
Oreferences
<div class="the-dialog_body"><slot></slot></div>
</div>
</div>
</teleport>
</template>
var app6 = new Vue({
el: '#app-6',
data: {
message: 'Hello Vue!'
}
})
<!-- production version, optimized for size and speed -->
<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
<!-- production version, optimized for size and speed -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
return Vue.h('h2', {}, this.blogTitle)
return Vue.h('h1', {}, this.blogTitle)
hi rahim this is test
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.10/dist/vue.js"></script>