10000 Github pages missing title Fixes #85 · thomasfowler/bootstrap-vue@69b684a · GitHub
[go: up one dir, main page]

Skip to content

Commit 69b684a

Browse files
author
Pooya Parsa
committed
Github pages missing title Fixes bootstrap-vue#85
1 parent 75f53a0 commit 69b684a

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

docs/layouts/components.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@
7070
export default{
7171
components: {layout, mSidebar},
7272
73+
head(){
74+
return {
75+
title: this.componentName + ' - Bootstrap-Vue',
76+
}
77+
},
78+
7379
props: {
7480
docs: {
7581
type: Object, default: () => {

docs/pages/docs/components/alerts.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
</template>
4646

4747
<script>
48-
import layout from '../../../layouts/components.vue';
48+
import layout, {head} from '../../../layouts/components.vue';
4949
5050
export default {
5151
components: {layout},
5252
data(){
5353
return {
54-
docs:{
54+
docs: {
5555
component: 'bAlert',
5656
events: [
5757
{

docs/pages/docs/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<br>
2222
<b-alert :show="true">
2323
<strong>Important</strong>
24-
Bootstrap Vue Does not ships with bootstrap 4 css files! With both methods,
25-
you have to add bootstrap stylesheets to everything working fine!
24+
Bootstrap Vue Does not ships with bootstrap 4 css files!
25+
With both methods, you have to add bootstrap stylesheets in order to everything working fine!
2626
</b-alert>
2727

2828
<h3 id="cdn">CDN</h3>

nuxt.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ const path = require('path');
33
module.exports = {
44
srcDir: path.resolve(__dirname, 'docs'),
55
dev: process.env.NODE_ENV !== 'production',
6+
7+
head: {
8+
title: 'Bootstrap Vue',
9+
},
10+
611
plugins: [
712
'~plugins/bootstrap-vue.js',
813
'~plugins/highlightjs.js',

0 commit comments

Comments
 (0)
0