Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<template>
  <div>
    <h1 v-if="a === 'some_string'">Hello, World!</h1>
  </div>
</template>
<script>
export default {
  data() {
    return {
      a: 'some_string',
    };
  },
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment