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