Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template>
  2.   <div class="queroCarona">
  3.     <h3>Quero Carona</h3>
  4.     <div class="container">
  5.       <div class="row">
  6.       </div>
  7.     </div>
  8.   </div>
  9. </template>
  10.  
  11. <script>
  12.   // eslint-disable-next-line no-unused-vars
  13.   import {router} from '../main.js'
  14.   export default {
  15.     name: 'hello',
  16.     data () {
  17.       return {
  18.         msg: 'Uber do CDI'
  19.       }
  20.     },
  21.     methods: {
  22.       irParaQueroCarona () {
  23.         this.$router.push({ path: '/queroCarona' })
  24.       }
  25.     }
  26.   }
  27. </script>
  28.  
  29. <!-- Add "scoped" attribute to limit CSS to this component only -->
  30. <style scoped>
  31.   h3,h5 {
  32.     font-weight: normal;
  33.   }
  34.  
  35.   ul {
  36.     list-style-type: none;
  37.     padding: 0;
  38.   }
  39.  
  40.   li {
  41.     display: inline-block;
  42.     margin: 0 10px;
  43.   }
  44.  
  45.   a {
  46.     color: #42b983;
  47.   }
  48.   button
  49.   {
  50.     margin: 7px 0 7px 0;
  51.   }
  52. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement