Making it pretty
parent
3c231cb1e1
commit
9b4f52b2c9
@ -1,5 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="about">
|
<div class="about">
|
||||||
<h1>This is an about page</h1>
|
<h1>This is an about page</h1>
|
||||||
|
<button @click="raiseAlert" class="ph3-ns pv2-ns pa2 f4-ns f5 white b bg-grad-green bn br-pill dim">Press me</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<script type="text/javascript">
|
||||||
|
export default {
|
||||||
|
methods: {
|
||||||
|
raiseAlert() {
|
||||||
|
console.log('YOU PRESSED THE BUTTON!');
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
Loading…
Reference in New Issue