编程生涯总结 - weigaochen
2017年6月14日小于 1 分钟
::: vue Hello and Welcome! :::
2013.09 - Now:
#include <stdio.h>
int main() {
printf("Hello and Welcome!\n");
return 0;
}
2014.10 - Now:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello and Welcome!" << endl;
return 0;
}
2015.09 - Now:
class HelloAndWelcome
{
public static void main(String[] args)
{
System.out.println("Hello and Welcome!");
}
}
2017.07 - Now:
#! /bin/bash
echo "Hello and Welcome!"
2017.09 - Now:
print('Hello and Welcome!')
2018.09 - Now:
console.log("Hello and Welcome!");
2018.09 - Now
<!DOCTYPE html>
<html lang="en">
<head>
<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>Hello and Welcome!</title>
</head>
<body>
<div id="app">
<input type="text" v-model="msg" placeholder="edit meit">
<p>
{{ msg }}
</p>
</div>
</body>
</html>
2018.10 - Now:
<script>
var vm = new Vue({
el: '#app',
data: {
msg: 'Hello and Welcome!';
}
})
</script>