Commit 3ddbda9f authored by Spectre's avatar Spectre 💬

Update Show Multidata

parent 3ed682c9
Pipeline #38 canceled with stages
var app = new Vue({
el: "#app", //element #app
//Script Lainnya diletakkan disini
data: {
message: "Hello Vue!", //variabel
pesan: "Hello Dunia", //variabel
berita: "Hallo sedulur" //variabel
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Belajar Vue JS</title>
<!-- development version, includes helpful console warnings -->
<script src=""></script>
<!-- production version, optimized for size and speed -->
<!--<script src=""></script>-->
<!--Contoh 1 menggunakan tag <b> langsung-->
<div id="app">
<!--Atribut id-->
{{ message }}<br>
{{ pesan }}<br>
{{ berita }}
<!-- Jika Menggunakan library Javascript vue.js yang terdapat di local-->
<!--<script src="vue.min.js"></script>-->
<!--Memanggil javascript apps-->
<script src="apps.js"></script>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment