Skip to content

Commit a6df4f7

Browse files
committed
Conflicts: README.txt
2 parents 5d4b213 + ed97d67 commit a6df4f7

24 files changed

+311
-29
lines changed

README.txt

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,15 @@
1-
Some Vue JS Sample to test Vue JS MVVM library under various scenario.
2-
Also use TypeScript and Bootstrap to beautify th code and the UI.
1+
2+
VisualStudio 2015 project show casing VueJS, TypeScript, Bootstrap
33

44
- VueJS: http://vuejs.org
55
- Bootstrap: http://getbootstrap.com/
66
- TypeScript: http://www.typescriptlang.org/
77

8+
(also requires "Web Compiler" VS Extension to turn .less file into .css)
89

9-
TODO
10-
11-
VueJS (to comprehend)
12-
http://vuejs.org/examples/
13-
14-
.less file compiling
15-
Install "Web Compiler" VS extension
16-
then right click on .less file > Web Compiler > compile file
17-
18-
19-
VUE LINKS
20-
=========
21-
22-
23-
24-
Validation
25-
https://github.com/vuejs/vue-validator
26-
Image loading animation
27-
http://codepen.io/pespantelis/pen/RWVZxL
10+
Mostly a collection of simple but progressively complex samples.
11+
It's an empty MVC project with WebAPI setup in the eventuality of doing some JSON experiment with Vue.
12+
As well as some advanced sample and reusable control I need for my own projects.
2813

2914

3015
TODO:
@@ -35,3 +20,8 @@ https://github.com/vuejs/vue/releases/tag/1.0.0-rc.1
3520
http://rc.vuejs.org/guide/installation.html
3621
CDNJS: http://cdnjs.cloudflare.com/ajax/libs/vue/1.0.0-rc.1/vue.min.js
3722

23+
24+
LINKS
25+
======
26+
Image loading animation
27+
http://codepen.io/pespantelis/pen/RWVZxL

TestApp/Sample.Chosen.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,20 @@ <h2>Live Example</h2>
4848
placeholder="chose a book!.."
4949
text-key="name"></vue-chosen>
5050
<br />
51-
<span v-repeat="item in selected">{{ item.name }}, </span>
51+
<span v-repeat="item in selected">
52+
{{ item.name }} ({{single.ID}}),
53+
</span>
5254
</p>
5355
<p>
5456
Single Selection
5557
<vue-chosen options="{{books}}" v-model="{{@ single}}"
5658
chosen="{{ { width:'20em'} }}"
5759
placeholder="chose a book!.."
5860
text-key="name"></vue-chosen>
59-
<br/>
60-
<span v-if="single">{{single.name}}</span>
61+
<br />
62+
<span v-if="single">
63+
{{single.name}} by {{single.author}}, ratings: {{single.rating}} ({{single.ID}})
64+
</span>
6165
</p>
6266
</div>
6367

TestApp/Sample.ShopCart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ <h2>Live Example</h2>
6464
<tbody v-repeat='lines'>
6565
<tr>
6666
<td width='25%'>
67-
<select v-model="category" options="categories" v-on="change: product = null">
67+
<select v-model="category" options="categories">
6868
<option value="">Select...</option>
6969
</select>
7070
</td>

TestApp/Sample.TabControl.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
1111

1212
<!-- VueJS (0.12.16) -->
13-
<!-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.12.16/vue.min.js"></script>-->
14-
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.12.16/vue.js"></script>
13+
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.12.16/vue.min.js"></script>
1514

1615
<!-- sample styles -->
1716
<link href="Content/samples.css" rel="stylesheet" />

TestApp/ScriptsLocal/Sample.KO1.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/ScriptsLocal/Sample.KO2.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/ScriptsLocal/Sample.KO3.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/ScriptsLocal/Sample.KO4.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/ScriptsLocal/Sample.KO5.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestApp/ScriptsLocal/Sample.ShopCart.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)