47 lines
785 B
Vue
47 lines
785 B
Vue
<template>
|
|
<div>
|
|
<div id="preview">{{ text }}</div>
|
|
<input v-model="input">
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import data from './assets/mobitec-01682-r7-bib-01369-r9-69.json'
|
|
|
|
export default {
|
|
name: 'Mobitter-FE',
|
|
data () {
|
|
return {
|
|
input: null
|
|
}
|
|
},
|
|
computed: {
|
|
text () {
|
|
let text = this.input
|
|
console.log(data)
|
|
// Do something with text.
|
|
return text
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
margin-top: 60px;
|
|
}
|
|
#preview {
|
|
border: 2px solid black;
|
|
width: 1200px;
|
|
height: 100px;
|
|
margin: 20px auto;
|
|
line-height: 100px;
|
|
font-size: 24px;
|
|
}
|
|
</style>
|