This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<div class="detail"> | |
<router-view></router-view> | |
</div> | |
</div> | |
</template> | |
<script> | |
export default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import Router from 'vue-router' | |
import User from "@/components/User" | |
import Home from "@/components/Home"; | |
Vue.use(Router) | |
export default new Router({ | |
routes: [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="container"> | |
<header> | |
<h1> Daftar Nama User : </h1> | |
</header> | |
<div class="list"> | |
<ul v-for="user in users" :key="user.id" style="list-style: none"> | |
<li> | |
<router-link :to="{ name: 'User', params: { id: user.id } }"> | |
{{ user.name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="container"> | |
<div class="user"> | |
<h2> Data user dengan nama : {{ user.name }} </h2> | |
<ul> | |
<li> Username : {{ user.username }} </li> | |
<li> Email : {{ user.email }} </li> | |
</ul> | |
<router-link to="/"> Back </router-link> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
// Template version: 1.3.1 | |
// see http://vuejs-templates.github.io/webpack for documentation. | |
const path = require('path') | |
module.exports = { | |
dev: { | |
// Paths |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title> Vue Transisi </title> | |
</head> | |
<body> | |
<div id="app"> | |
<nav class="menu"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title> Vue Transisi </title> | |
</head> | |
<body> | |
<div id="app"> | |
<nav class="menu"> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title> Vue Transisi </title> | |
<style> | |
* { | |
margin: 0; padding: 0; | |
font-family: 'Lucida Sans', Verdana, sans-serif; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SemutPekerja { | |
public static void main(String[] args) { | |
int[][] dataSet = { | |
{1,2,9,10,25,26}, {4,3,8,11,24,27}, {5,6,7,12,23,28}, | |
{16,15,14,13,22,29}, {17,18,19,20,21,30}, {36, 35, 34, 33, 32, 31} | |
}; | |
int x = 36; | |
int row = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<center> <h1> Simple TodoList App </h1> </center> | |
<v-form class="form"> | |
<v-text-field | |
label="Nama Tugas" | |
v-model="nama" | |
required | |
></v-text-field> |