Skip to content

Commit 1f29594

Browse files
committed
/accountと/userに分かれていた部分を/userに統一
1 parent 2bcf89f commit 1f29594

File tree

4 files changed

+7
-137
lines changed

4 files changed

+7
-137
lines changed

src/middleware/authenticated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { vxm } from '@/store'
33

44
const authenticated: Middleware = async ({ redirect }) => {
55
if (!vxm.user.isAuthenticated) {
6-
redirect('/account/login')
6+
redirect('/user/login')
77
}
88
}
99

src/pages/account/signup.vue

Lines changed: 0 additions & 130 deletions
This file was deleted.

src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
text="ログインする"
4545
class="loginButton"
4646
theme="secondary"
47-
@click="$router.push('/account/login')"
47+
@click="$router.push('/user/login')"
4848
/>
4949
<v-footer color="#004170" padless>
5050
<v-row justify="center" no-gutters>

src/pages/account/login.vue renamed to src/pages/user/login.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@
5959

6060
<script lang="ts">
6161
import Vue from 'vue'
62-
import BottomSheetLayer from '@/components/BottomSheetLayer.vue'
63-
import ActionButton from '@/components/ActionButton.vue'
64-
import InputField from '@/components/InputField.vue'
65-
import firebase from '@/plugins/firebase'
66-
import { vxm } from '~/store'
62+
import BottomSheetLayer from '../../components/BottomSheetLayer.vue'
63+
import ActionButton from '../../components/ActionButton.vue'
64+
import InputField from '../../components/InputField.vue'
65+
import firebase from '../../plugins/firebase'
66+
import { vxm } from '../../store'
6767
6868
export default Vue.extend({
6969
components: { BottomSheetLayer, ActionButton, InputField },

0 commit comments

Comments
 (0)