Skip to content

Commit 42fba32

Browse files
author
Pooya Parsa
committed
Recommend using tagged urls for CDN
1 parent 7804d44 commit 42fba32

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ Vue.use(BootstrapVue);
6363

6464
### CDN (Browser)
6565

66-
Package size about 86kb (<strong>~16kb gzipped</strong>)
66+
Package size is about 86kb <strong>(16kb gzipped)</strong>
6767

6868
```html
6969
<!-- Add this to <head> -->
7070
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap@next/dist/css/bootstrap.min.css"/>
71-
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap-vue/dist/bootstrap-vue.css"/>
71+
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css"/>
7272

7373
<!-- Add this after vue.js -->
74-
<script src="//unpkg.com/bootstrap-vue/tether/dist/js/tether.min.js"></script>
75-
<script src="//unpkg.com/bootstrap-vue/dist/bootstrap-vue.js"></script>
74+
<script src="//unpkg.com/bootstrap-vue@latest/tether/dist/js/tether.min.js"></script>
75+
<script src="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.js"></script>
7676
```
7777

7878
**NUXT.JS**

docs/pages/docs/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
<div v-code class="html">
6363
&lt;!-- Add this to &lt;head&gt; --&gt;
6464
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;//unpkg.com/bootstrap@next/dist/css/bootstrap.min.css&quot;/&gt;
65-
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;//unpkg.com/bootstrap-vue/dist/bootstrap-vue.css&quot;/&gt;
65+
&lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css&quot;/&gt;
6666

6767
&lt;!-- Add this after vue.js --&gt;
68-
&lt;script src=&quot;//unpkg.com/tether/dist/js/tether.min.js&quot;&gt;&lt;/script&gt;
69-
&lt;script src=&quot;//unpkg.com/bootstrap-vue/dist/bootstrap-vue.js&quot;&gt;&lt;/script&gt;
68+
&lt;script src=&quot;//unpkg.com/tether@latest/dist/js/tether.min.js&quot;&gt;&lt;/script&gt;
69+
&lt;script src=&quot;//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.js&quot;&gt;&lt;/script&gt;
7070
</div>
7171

7272
</template>

docs/pages/index.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
</p>
1212

1313
<p class="lead">
14-
<router-link to="/docs" class="btn mr-1 mb-1">Documentation</router-link>
15-
16-
<router-link to="/play" class="btn">Playground</router-link>
14+
<router-link to="/docs" class="btn mr-1 mb-1">Getting started</router-link>
1715
</p>
1816

1917
<p class="version">
@@ -63,7 +61,7 @@
6361
<p>Simply include js inside your HTML templates</p>
6462
<div v-code class="html">
6563
&lt;!-- Add this after vue.js --&gt;
66-
&lt;script src=&quot;//unpkg.com/bootstrap-vue/dist/bootstrap-vue.js&quot;&gt;&lt;/script&gt;
64+
&lt;script src=&quot;//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.js&quot;&gt;&lt;/script&gt;
6765
</div>
6866
<div class="text-center">
6967
<br>

0 commit comments

Comments
 (0)