<template>
  <div>
    <h1>ログイン</h1>
  </div>
</template>

<script>
  export default {
    name: 'login',
    data () {
      return {}
    }
  }
</script>

<style>

</style>

<template>
  <div>
    <el-input type="text" v-model="userName" name="userName" placeholder="ユーザ名"></el-input>
    <el-input type="password" v-model="password" name="password" placeholder="パスワード"></el-input>
    <el-button @click="login">ログイン</el-button>
  </div>
</template>

<script>
  export default {
    name: 'login',
    data () {
      return {
        userName: '',
        password: ''
      }
    },
    methods: {
      login: function () {
      }
    }
  }
</script>

<style>

</style>

Add form and button for login.
Add form and button for login.
