Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
Update HomeHero component to accept experiment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alhankeser committed Dec 9, 2019
1 parent 19d1b20 commit f343116
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/HomeHero.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="container">
<div class="text-content with-image">
<h1>The developer-friendly a/b testing tool</h1>
<h1>{{ headline }}</h1>
<p>Variate makes it super easy for developers to enable components for A/B testing in Vuejs and React applications.</p> <p>Get started in less than 5 minutes:</p>
<div class="home-actions">
<pre>npm install variate-vue</pre>
Expand All @@ -16,9 +16,16 @@
</template>

<script>
import { mapVariables } from '@variate/vue';
export default {
computed: {
...mapVariables({
headline: 'The developer-friendly a/b testing tool',
}),
},
}
</script>

<style>
Expand Down

0 comments on commit f343116

Please sign in to comment.