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