Skip to content

Commit a6e5512

Browse files
committed
docs: improve docs
1 parent 8e6167b commit a6e5512

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

docs/tag-selector.gif

1.2 MB
Loading

src/App.vue

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,32 @@
99
<a href="https://www.npmjs.com/package/vue-tag-selector">vue-tag-selector on npm</a>
1010
</p>
1111

12+
<br>
13+
<br>
14+
<br>
15+
<div class="grid has-gutter-l theme-example">
16+
17+
<div class="col-2 returned-values">
18+
<br/>
19+
<br/>
20+
<code>
21+
{{tags1}}
22+
</code>
23+
</div>
24+
<div class="col-5">
25+
<h4>Vue-tag-selector example</h4>
26+
<vue-tag-selector
27+
label="Post tags"
28+
v-model="tags1"
29+
name="tags" />
30+
</div>
31+
</div>
32+
<br>
33+
<br>
34+
<br>
35+
36+
37+
1238
<h2 id="styles">Using styles</h2>
1339
<p>The component philosophy is pretty straightforward here: only the mandatory style is bundled.<br/>
1440
I personally never liked js library that needs too much CSS. <br/>
@@ -30,6 +56,15 @@
3056
v-model="tags1"
3157
name="tags" />
3258
</li>
59+
</ol>
60+
</div>
61+
<div class="col-2 returned-values">
62+
<code>
63+
{{tags1}}
64+
</code>
65+
</div>
66+
<div class="col-5">
67+
<ol start="2">
3368
<li class="theme-material">
3469
<h4>Material theme example</h4>
3570
<p>A basic material design theme. You can download the css for it <a href="https://raw.githubusercontent.com/tomquinonero/vue-tag-selector/master/src/assets/theme_material.css" target="_blank" rel="noopener noreferrer">here</a>.</p>
@@ -38,6 +73,15 @@
3873
v-model="tags1"
3974
name="tags" />
4075
</li>
76+
</ol>
77+
</div>
78+
<div class="col-2 returned-values">
79+
<code>
80+
{{tags1}}
81+
</code>
82+
</div>
83+
<div class="col-5">
84+
<ol start="3">
4185
<li class="theme-example">
4286
<h4>Look goods theme example</h4>
4387
<p>A home cooked colored theme. We are gonna use it for the next examples. You can download the css for it <a href="https://raw.githubusercontent.com/tomquinonero/vue-tag-selector/master/src/assets/theme_looking-good.css" target="_blank" rel="noopener noreferrer">here</a>.</p>

0 commit comments

Comments
 (0)