Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watch.vue,watches.vueをVueMounterに対応させた #5503

Merged
merged 5 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@
</template>

<script>
import watch from 'watch.vue'
import watch from 'components/watch.vue'
import Pager from 'pager.vue'
import LoadingListPlaceholder from 'loading-list-placeholder.vue'

export default {
name: 'Watches',
components: {
watch: watch,
loadingListPlaceholder: LoadingListPlaceholder,
Expand Down
3 changes: 2 additions & 1 deletion app/javascript/packs/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import '../products.js'
import '../courses-categories.js'
import '../courses-practices.js'
import '../no_learn.js'
import '../watches.js'
import '../searchables.js'
import '../niconico_calendar.js'
import '../user_mentor_memo.js'
Expand Down Expand Up @@ -78,6 +77,7 @@ import WorriedUsers from '../components/worried-users.vue'
import Reports from '../components/reports.vue'
import Users from '../components/users.vue'
import User from '../components/user.vue'
import Watches from '../components/watches.vue'

const mounter = new VueMounter()
mounter.addComponent(Hello)
Expand All @@ -90,4 +90,5 @@ mounter.addComponent(WorriedUsers)
mounter.addComponent(Reports)
mounter.addComponent(Users)
mounter.addComponent(User)
mounter.addComponent(Watches)
mounter.mount()
12 changes: 0 additions & 12 deletions app/javascript/watches.js

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/current_user/watches/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ header.page-header

= render 'home/page_tabs', user: @user

#js-watches
div(data-vue="Watches")
8 changes: 0 additions & 8 deletions app/views/watches/index.html.slim

This file was deleted.