<script> export default { onCreate() { console.log('app created') }, onDestroy() { console.log('app destroyed') } } </script>