Commit e8d98dc 1 parent 07e7fd9 commit e8d98dc Copy full SHA for e8d98dc
File tree 5 files changed +67
-12
lines changed
5 files changed +67
-12
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- " presets" : [
2
+ presets : [
3
3
[
4
4
"@vue/app" ,
5
5
{
6
- " useBuiltIns" : "entry"
6
+ useBuiltIns : "entry"
7
7
}
8
8
]
9
9
]
10
- }
10
+ } ;
Original file line number Diff line number Diff line change 5
5
<b-button variant =" info" href =" #" >More Info</b-button >
6
6
</b-jumbotron >
7
7
<hunter text =" " ></hunter >
8
+ <trophies ></trophies >
8
9
</div >
9
10
</template >
10
11
11
12
<script >
12
13
import Hunter from " ./components/Hunter.vue" ;
14
+ import Trophies from " ./components/Trophies.vue" ;
13
15
14
16
export default {
15
17
name: " app" ,
16
18
components: {
17
- Hunter
19
+ Hunter,
20
+ Trophies
18
21
}
19
22
};
20
23
</script >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div >
3
+ <b-table striped hover :items =" items" ></b-table >
4
+ </div >
5
+ </template >
6
+
7
+ <script >
8
+ export default {
9
+ name: " Trophies" ,
10
+ data : function () {
11
+ return {
12
+ items: [
13
+ {
14
+ number: " A-1" ,
15
+ author: " Brian McClune" ,
16
+ subject: " Very Cool" ,
17
+ date: new Date (1983 , 2 , 13 )
18
+ },
19
+ {
20
+ number: " A-2" ,
21
+ author: " Brendan McClune" ,
22
+ subject: " Still Pretty Good" ,
23
+ date: new Date (1984 , 5 , 30 )
24
+ },
25
+ {
26
+ number: " A-3" ,
27
+ author: " Megan McClune" ,
28
+ subject: " Somehow Also Solid" ,
29
+ date: new Date (1986 , 11 , 3 )
30
+ }
31
+ ]
32
+ };
33
+ }
34
+ };
35
+ </script >
36
+
37
+ <!-- Add "scoped" attribute to limit CSS to this component only -->
38
+ <style scoped>
39
+ h3 {
40
+ margin: 40px 0 0;
41
+ }
42
+ ul {
43
+ list-style-type: none;
44
+ padding: 0;
45
+ }
46
+ li {
47
+ display: inline-block;
48
+ margin: 0 10px;
49
+ }
50
+ a {
51
+ color: #42b983;
52
+ }
53
+ </style>
Original file line number Diff line number Diff line change 1
- import ' @babel/polyfill'
2
- import ' mutationobserver-shim'
1
+ import " @babel/polyfill" ;
2
+ import " mutationobserver-shim" ;
3
3
import Vue from "vue" ;
4
- import ' ./plugins/bootstrap-vue'
4
+ import " ./plugins/bootstrap-vue" ;
5
5
import App from "./App.vue" ;
6
6
7
7
Vue . config . productionTip = false ;
Original file line number Diff line number Diff line change 1
- const fs = require ( 'fs' ) ;
2
-
3
1
module . exports = {
4
2
devServer : {
5
3
compress : true ,
6
4
inline : true ,
7
5
port : 8080 ,
8
- public : '122383a581114da9bc8fab766c8bc512.vfs.cloud9.us-east-2.amazonaws.com' ,
9
- } ,
10
- } ;
6
+ public :
7
+ "122383a581114da9bc8fab766c8bc512.vfs.cloud9.us-east-2.amazonaws.com"
8
+ }
9
+ } ;
You can’t perform that action at this time.
0 commit comments