mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +00:00
Flatten unnecessarily deep folders (#132)
This commit is contained in:
parent
8447bed6ae
commit
b6eda18024
35 changed files with 36 additions and 38 deletions
|
@ -20,8 +20,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import NavHeader from '@/components/NavHeader/NavHeader';
|
import NavHeader from '@/components/NavHeader';
|
||||||
import Toast from '@/components/Toast/Toast';
|
import Toast from '@/components/Toast';
|
||||||
import firebase from 'firebase/app';
|
import firebase from 'firebase/app';
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
import { debounce } from 'lodash';
|
import { debounce } from 'lodash';
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
import ListAdd from '@/components/Lists/ListAdd';
|
import ListAdd from '@/components/Lists/ListAdd';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
import Placeholder from '@/components/Placeholder/Placeholder';
|
import Placeholder from '@/components/Placeholder';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<script>
|
<script>
|
||||||
import GameRating from '@/components/GameDetail/GameRating';
|
import GameRating from '@/components/GameDetail/GameRating';
|
||||||
import GameCardUtils from '@/components/GameCards/GameCard';
|
import GameCardUtils from '@/components/GameCards/GameCard';
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<script>
|
<script>
|
||||||
import GameRating from '@/components/GameDetail/GameRating';
|
import GameRating from '@/components/GameDetail/GameRating';
|
||||||
import GameCardUtils from '@/components/GameCards/GameCard';
|
import GameCardUtils from '@/components/GameCards/GameCard';
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
<script>
|
<script>
|
||||||
import GameRating from '@/components/GameDetail/GameRating';
|
import GameRating from '@/components/GameDetail/GameRating';
|
||||||
import GameCardUtils from '@/components/GameCards/GameCard';
|
import GameCardUtils from '@/components/GameCards/GameCard';
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
import GameRating from '@/components/GameDetail/GameRating';
|
import GameRating from '@/components/GameDetail/GameRating';
|
||||||
import Placeholder from '@/components/Placeholder/Placeholder';
|
import Placeholder from '@/components/Placeholder';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -55,8 +55,8 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import GameCardSearch from '@/components/GameCards/GameCardSearch';
|
import GameCardSearch from '@/components/GameCards/GameCardSearch';
|
||||||
import IgdbCredit from '@/components/IgdbCredit/IgdbCredit';
|
import IgdbCredit from '@/components/IgdbCredit';
|
||||||
import Panel from '@/components/Panel/Panel';
|
import Panel from '@/components/Panel';
|
||||||
import { debounce } from 'lodash';
|
import { debounce } from 'lodash';
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
|
|
|
@ -88,7 +88,7 @@ import GameCardDefault from '@/components/GameCards/GameCardDefault';
|
||||||
import GameCardGrid from '@/components/GameCards/GameCardGrid';
|
import GameCardGrid from '@/components/GameCards/GameCardGrid';
|
||||||
import GameCardWide from '@/components/GameCards/GameCardWide';
|
import GameCardWide from '@/components/GameCards/GameCardWide';
|
||||||
import GameCardText from '@/components/GameCards/GameCardText';
|
import GameCardText from '@/components/GameCards/GameCardText';
|
||||||
import GameSearch from '@/components/GameSearch/GameSearch';
|
import GameSearch from '@/components/GameSearch';
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
import firebase from 'firebase/app';
|
import firebase from 'firebase/app';
|
||||||
import 'firebase/firestore';
|
import 'firebase/firestore';
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
import Panel from '@/components/Panel/Panel';
|
import Panel from '@/components/Panel';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
import { mapGetters, mapState } from 'vuex';
|
import { mapGetters, mapState } from 'vuex';
|
||||||
import firebase from 'firebase/app';
|
import firebase from 'firebase/app';
|
||||||
import 'firebase/firestore';
|
import 'firebase/firestore';
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Settings from '@/pages/Settings';
|
import Settings from '@/pages/Settings';
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
|
|
||||||
export default {
|
export default {
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters } from 'vuex';
|
import { mapGetters } from 'vuex';
|
||||||
import Placeholder from '@/components/Placeholder/Placeholder';
|
import Placeholder from '@/components/Placeholder';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import firebase from 'firebase/app';
|
import firebase from 'firebase/app';
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
import Gravatar from 'vue-gravatar';
|
import Gravatar from 'vue-gravatar';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
|
|
|
@ -60,9 +60,9 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
import WallpaperUpload from '@/components/WallpaperUpload/WallpaperUpload';
|
import WallpaperUpload from '@/components/WallpaperUpload';
|
||||||
import ToggleSwitch from '@/components/ToggleSwitch/ToggleSwitch';
|
import ToggleSwitch from '@/components/ToggleSwitch';
|
||||||
import firebase from 'firebase/app';
|
import firebase from 'firebase/app';
|
||||||
import 'firebase/firestore';
|
import 'firebase/firestore';
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ToggleSwitch from '@/components/ToggleSwitch/ToggleSwitch';
|
import ToggleSwitch from '@/components/ToggleSwitch';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ToggleSwitch from '@/components/ToggleSwitch/ToggleSwitch';
|
import ToggleSwitch from '@/components/ToggleSwitch';
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Panel from '@/components/Panel/Panel';
|
import Panel from '@/components/Panel';
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
import { mapState } from 'vuex';
|
import { mapState } from 'vuex';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import RavenVue from 'raven-js/plugins/vue';
|
||||||
import VueShortKey from 'vue-shortkey';
|
import VueShortKey from 'vue-shortkey';
|
||||||
import App from './App';
|
import App from './App';
|
||||||
import messages from './i18n/';
|
import messages from './i18n/';
|
||||||
import router from './router/';
|
|
||||||
import store from './store/';
|
import store from './store/';
|
||||||
|
import router from './router';
|
||||||
|
|
||||||
const EventBus = new Vue();
|
const EventBus = new Vue();
|
||||||
|
|
||||||
|
|
|
@ -77,12 +77,12 @@
|
||||||
<script>
|
<script>
|
||||||
import GameBoardActions from '@/components/GameBoard/GameBoardActions';
|
import GameBoardActions from '@/components/GameBoard/GameBoardActions';
|
||||||
import GameBoardPlaceholder from '@/components/GameBoard/GameBoardPlaceholder';
|
import GameBoardPlaceholder from '@/components/GameBoard/GameBoardPlaceholder';
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
import ListAdd from '@/components/Lists/ListAdd';
|
import ListAdd from '@/components/Lists/ListAdd';
|
||||||
import Panel from '@/components/Panel/Panel';
|
import Panel from '@/components/Panel';
|
||||||
import GameDetail from '@/pages/GameDetail';
|
import GameDetail from '@/pages/GameDetail';
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
// import DevDebug from '@/components/DevDebug/DevDebug';
|
// import DevDebug from '@/components/DevDebug';
|
||||||
import { chunk } from 'lodash';
|
import { chunk } from 'lodash';
|
||||||
import List from '@/components/Lists/List';
|
import List from '@/components/Lists/List';
|
||||||
import draggable from 'vuedraggable';
|
import draggable from 'vuedraggable';
|
||||||
|
|
|
@ -64,14 +64,14 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
import Tag from '@/components/Tags/Tag';
|
import Tag from '@/components/Tag';
|
||||||
import GameHeader from '@/components/GameDetail/GameHeader';
|
import GameHeader from '@/components/GameDetail/GameHeader';
|
||||||
import GameScreenshots from '@/components/GameDetail/GameScreenshots';
|
import GameScreenshots from '@/components/GameDetail/GameScreenshots';
|
||||||
import GameNotes from '@/components/GameNotes/GameNotes';
|
import GameNotes from '@/components/GameNotes';
|
||||||
import GameRating from '@/components/GameDetail/GameRating';
|
import GameRating from '@/components/GameDetail/GameRating';
|
||||||
import GameVideos from '@/components/GameDetail/GameVideos';
|
import GameVideos from '@/components/GameDetail/GameVideos';
|
||||||
import GameReviewBox from '@/components/GameDetail/GameReviewBox';
|
import GameReviewBox from '@/components/GameDetail/GameReviewBox';
|
||||||
import IgdbCredit from '@/components/IgdbCredit/IgdbCredit';
|
import IgdbCredit from '@/components/IgdbCredit';
|
||||||
import GameDetailPlaceholder from '@/components/GameDetail/GameDetailPlaceholder';
|
import GameDetailPlaceholder from '@/components/GameDetail/GameDetailPlaceholder';
|
||||||
import firebase from 'firebase/app';
|
import firebase from 'firebase/app';
|
||||||
import 'firebase/firestore';
|
import 'firebase/firestore';
|
||||||
|
|
|
@ -35,10 +35,9 @@
|
||||||
<script>
|
<script>
|
||||||
import Masonry from 'masonry-layout';
|
import Masonry from 'masonry-layout';
|
||||||
import platforms from '@/platforms';
|
import platforms from '@/platforms';
|
||||||
import ToggleSwitch from '@/components/ToggleSwitch/ToggleSwitch';
|
import IgdbCredit from '@/components/IgdbCredit';
|
||||||
import IgdbCredit from '@/components/IgdbCredit/IgdbCredit';
|
import Platform from '@/components/Platform';
|
||||||
import Platform from '@/components/Platform/Platform';
|
import Panel from '@/components/Panel';
|
||||||
import Panel from '@/components/Panel/Panel';
|
|
||||||
import { sortBy } from 'lodash';
|
import { sortBy } from 'lodash';
|
||||||
import { mapState, mapGetters } from 'vuex';
|
import { mapState, mapGetters } from 'vuex';
|
||||||
|
|
||||||
|
@ -46,7 +45,6 @@ let msnry = null;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
ToggleSwitch,
|
|
||||||
IgdbCredit,
|
IgdbCredit,
|
||||||
Platform,
|
Platform,
|
||||||
Panel,
|
Panel,
|
||||||
|
|
|
@ -33,7 +33,7 @@ import PlatformsSettings from '@/components/Settings/PlatformsSettings';
|
||||||
import AccountSettings from '@/components/Settings/AccountSettings';
|
import AccountSettings from '@/components/Settings/AccountSettings';
|
||||||
import AboutSettings from '@/components/Settings/AboutSettings';
|
import AboutSettings from '@/components/Settings/AboutSettings';
|
||||||
import TagsSettings from '@/components/Settings/TagsSettings';
|
import TagsSettings from '@/components/Settings/TagsSettings';
|
||||||
import Modal from '@/components/Modal/Modal';
|
import Modal from '@/components/Modal';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import Releases from '@/components/Releases/Releases';
|
import Releases from '@/components/Releases/Releases';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue