import { mapState } from 'vuex' // #1 ヘルパーをインポートする
export default {
// #2 算出プロパティを宣言する
computed: mapState({
loginAlias: 'login', // loginAlias: state => state.loginと同義
deviceAlias: 'device' // deviceAlias: state => state.deviceと同義
})
}