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"> |
| 8 | @import "@/assets/styles/_obmc-custom"; |
| 9 | </style> |
| 10 | |
| 11 | <script> |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 12 | export default { |
Derick Montague | c8636e5 | 2019-12-06 01:28:38 -0600 | [diff] [blame^] | 13 | name: "App", |
| 14 | watch: { |
| 15 | $route: function(to) { |
| 16 | document.title = to.meta.title || "Page is Missing Title"; |
| 17 | } |
| 18 | } |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 19 | }; |
| 20 | </script> |