Skip to content

Commit 1679f0e

Browse files
committed
Initial version.
0 parents  commit 1679f0e

File tree

13 files changed

+206
-0
lines changed

13 files changed

+206
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
.idea

.meteor/.finished-upgraders

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This file contains information which helps Meteor properly upgrade your
2+
# app when you run 'meteor update'. You should check it into version control
3+
# with your project.
4+
5+
notices-for-0.9.0
6+
notices-for-0.9.1
7+
0.9.4-platform-file
8+
notices-for-facebook-graph-api-2
9+
1.2.0-standard-minifiers-package
10+
1.2.0-meteor-platform-split
11+
1.2.0-cordova-changes
12+
1.2.0-breaking-changes
13+
1.3.0-split-minifiers-package
14+
1.4.0-remove-old-dev-bundle-link
15+
1.4.1-add-shell-server-package

.meteor/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
local

.meteor/.id

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file contains a token that is unique to your project.
2+
# Check it into your repository along with the rest of this directory.
3+
# It can be used for purposes such as:
4+
# - ensuring you don't accidentally deploy one app on top of another
5+
# - providing package authors with aggregated statistics
6+
7+
sspia8158r7il1mjtmsr

.meteor/packages

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Meteor packages used by this project, one per line.
2+
# Check this file (and the other files in this directory) into your repository.
3+
#
4+
# 'meteor add' and 'meteor remove' will edit this file for you,
5+
# but you can also edit it by hand.
6+
7+
[email protected] # Packages every Meteor app needs to have
8+
[email protected] # Packages for a great mobile UX
9+
[email protected] # The database Meteor supports right now
10+
[email protected] # Reactive variable for tracker
11+
[email protected] # Meteor's client-side reactive programming library
12+
13+
[email protected] # CSS minifier run for production mode
14+
[email protected] # JS minifier run for production mode
15+
[email protected] # ECMAScript 5 compatibility for older browsers.
16+
[email protected] # Enable ECMAScript2015+ syntax in app code
17+
[email protected] # Server-side component of the `meteor shell` command
18+
19+
akryum:vue-component
20+
static-html

.meteor/platforms

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
server
2+
browser

.meteor/release

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.meteor/versions

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
2+
3+
4+
5+
6+
7+
8+
9+
10+
11+
12+
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+

client/app.vue

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<template>
2+
<div class="app">
3+
<h1>Simple Meteor example using Vue</h1>
4+
<p>
5+
You pressed the button {{count}} times.
6+
</p>
7+
<button @click="addOne">{{buttonLabel}}</button>
8+
</div>
9+
</template>
10+
11+
<script>
12+
import {ReactiveVar} from 'meteor/reactive-var';
13+
14+
let counter = new ReactiveVar(0);
15+
16+
let labels = [
17+
'Click me!', 'Click me again!', 'Here! Click here!', 'Again! Again!',
18+
'Don\'t click me! No, I\'m just kidding. You can.', 'You like that?',
19+
'Can you stratch me in the back please?', 'You are soooo nice! Click!',
20+
'Hmmmm...', 'You know, you are wasting time clicking me.',
21+
'No really, you can click me as much as you want.', 'Click me to level up!'
22+
];
23+
24+
export default {
25+
data() {
26+
return {
27+
buttonLabel: 'Click me!'
28+
}
29+
},
30+
31+
methods: {
32+
count() {
33+
return counter.get();
34+
},
35+
36+
addOne() {
37+
counter.set('counter', counter.get() + 1);
38+
39+
this.buttonLabel = labels[Math.round(Math.random() * (labels.length - 1))];
40+
}
41+
}
42+
}
43+
</script>
44+
45+
<style>
46+
body {
47+
margin: 30px;
48+
}
49+
50+
a {
51+
color: #40b883;
52+
text-decoration: none;
53+
}
54+
55+
h1 {
56+
font-weight: normal;
57+
}
58+
</style>

client/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
font-family: sans-serif;
3+
}

0 commit comments

Comments
 (0)