Skip to content

Instantly share code, notes, and snippets.

View mfaridzia's full-sized avatar
📒
storyteller

Muhammad Farid Zia mfaridzia

📒
storyteller
View GitHub Profile
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: [
{
<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 }}
<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>
'use strict'
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Vue Transisi </title>
</head>
<body>
<div id="app">
<nav class="menu">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Vue Transisi </title>
</head>
<body>
<div id="app">
<nav class="menu">
<ul>
<!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;
}
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;
<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>
<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>