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) { | ||||
Derick Montague | e2fd156 | 2019-12-20 13:26:53 -0600 | [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 | } |
18 | } | ||||
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 19 | }; |
20 | </script> |