// app.vue with ES2015+
<style>
  @import '../styles/papayawhip.css';

  .red {
    color: #f00;
  }
</style>

<template>
  <h1 class="red">{{ msg }}</h1>
</template>

<script>
export default {
  data() {
    const str = 'Hello world!';

    const helloWorld = (o) => {
      const {a, b} = o;
      return `Vue says, "${str}!"`
    };

    return {
      msg: helloWorld(),
    };
  },
};
</script>
