This repository was archived by the owner on Mar 25, 2020. It is now read-only.
File tree 7 files changed +35
-4
lines changed
7 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 11
11
"author" : " " ,
12
12
"license" : " MIT" ,
13
13
"dependencies" : {
14
+ "bootstrap" : " ^4.0.0-alpha.5" ,
14
15
"dexie" : " ^2.0.0-beta.6" ,
15
16
"tslib" : " ^1.2.0" ,
16
17
"vue" : " ^2.1.3" ,
20
21
"vuex" : " ^2.0.0"
21
22
},
22
23
"devDependencies" : {
24
+ "css-loader" : " ^0.26.0" ,
23
25
"extract-text-webpack-plugin" : " ^2.0.0-beta.4" ,
24
26
"html-webpack-plugin" : " ^2.24.1" ,
27
+ "node-sass" : " ^3.13.0" ,
28
+ "sass-loader" : " ^4.0.2" ,
25
29
"ts-loader" : " ^1.2.2" ,
26
30
"typescript" : " ^2.1.1" ,
27
31
"vue-template-compiler" : " ^2.1.3" ,
Original file line number Diff line number Diff line change 1
1
< div >
2
2
< jumbotron > </ jumbotron >
3
- < div class ="container ">
3
+ < div class ="container page-container ">
4
4
< h2 > これまでに寄せられたメッセージ</ h2 >
5
5
< div class ="card card-block " v-for ="message in messages ">
6
6
< div > {{ message.date | format }}</ div >
Original file line number Diff line number Diff line change 1
- < div class ="container ">
1
+ < div class ="container page-container ">
2
2
< h1 > リンク一覧</ h1 >
3
3
< ul >
4
4
< li v-for ="link in links ">
Original file line number Diff line number Diff line change 1
- < div class ="container ">
1
+ < div class ="container page-container ">
2
2
< h1 > 設定</ h1 >
3
3
< div >
4
4
< button class ="btn btn-primary " @click ="reset "> メッセージを削除する</ button >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import router from './router'
5
5
import { mapActions } from 'vuex'
6
6
import store from './vuex/store'
7
7
import Navbar from './navbar/navbar'
8
+ import './style.scss'
8
9
9
10
@Component ( template < App > ( {
10
11
components : {
Original file line number Diff line number Diff line change
1
+ @import " ~bootstrap/scss/bootstrap-reboot" ;
2
+ @import " ~bootstrap/scss/mixins" ;
3
+
4
+ // @import "~bootstrap/scss/grid";
5
+ .container {
6
+ @include make-container ();
7
+ @include make-container-max-widths ();
8
+ }
9
+
10
+ .page-container {
11
+ margin-top : 2rem ;
12
+ }
13
+
14
+ // @import "~bootstrap/scss/utilities/background";
15
+ .bg-faded {
16
+ background-color : darken ($body-bg , 3% );
17
+ }
18
+
19
+ @import " ~bootstrap/scss/buttons" ;
20
+ @import " ~bootstrap/scss/card" ;
21
+ @import " ~bootstrap/scss/close" ;
22
+ @import " ~bootstrap/scss/forms" ;
23
+ @import " ~bootstrap/scss/modal" ;
24
+ @import " ~bootstrap/scss/nav" ;
25
+ @import " ~bootstrap/scss/navbar" ;
26
+ @import " ~bootstrap/scss/type" ;
27
+ @import " ~bootstrap/scss/jumbotron" ;
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="UTF-8 ">
5
5
< title > Vue.jsとTypeScriptのサンプル2</ title >
6
- < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css " integrity ="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi " crossorigin ="anonymous ">
7
6
</ head >
8
7
< body >
9
8
< div id ="app "> </ div >
You can’t perform that action at this time.
0 commit comments