Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 1 | <template> |
2 | <div id="app"> | ||||
Derick Montague | e080a1a | 2019-12-04 16:30:08 -0600 | [diff] [blame] | 3 | <router-view /> |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 4 | </div> |
5 | </template> | ||||
6 | |||||
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 7 | <script> |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 8 | export default { |
Derick Montague | e2fd156 | 2019-12-20 13:26:53 -0600 | [diff] [blame] | 9 | name: 'App', |
Derick Montague | c8636e5 | 2019-12-06 01:28:38 -0600 | [diff] [blame] | 10 | watch: { |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame^] | 11 | $route: function (to) { |
Yoshie Muranaka | f15cc7a | 2020-09-09 10:08:14 -0700 | [diff] [blame] | 12 | document.title = to.meta.title || 'Page is missing title'; |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame^] | 13 | }, |
Yoshie Muranaka | f15cc7a | 2020-09-09 10:08:14 -0700 | [diff] [blame] | 14 | }, |
15 | created() { | ||||
16 | document.title = this.$route.meta.title || 'Page is missing title'; | ||||
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame^] | 17 | }, |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 18 | }; |
19 | </script> | ||||
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame^] | 20 | |
21 | <style lang="scss"> | ||||
22 | @import '@/assets/styles/_obmc-custom'; | ||||
23 | </style> |