Commit 78b882b34ccc898968e827a4ef0d1bca222256c9
1 parent
d8238705
refactor: use webpack alias
Showing
13 changed files
with
24 additions
and
29 deletions
front-end/h5/src/components/core/editor/canvas/edit.js
| 1 | 1 | import { mapState, mapActions } from 'vuex' |
| 2 | -import Shape from '../../support/shape' | |
| 3 | -import ContextMenu from '../../support/contexmenu' | |
| 2 | +import Shape from 'core/support/shape' | |
| 3 | +import ContextMenu from 'core/support/contexmenu' | |
| 4 | 4 | |
| 5 | 5 | export default { |
| 6 | 6 | props: ['elements', 'handleClickElementProp', 'handleClickCanvasProp'], | ... | ... |
front-end/h5/src/components/core/editor/fixed-tools/options.js
front-end/h5/src/components/core/editor/right-panel/props.js
front-end/h5/src/components/core/editor/index.js renamed to front-end/h5/src/components/core/index.js
| ... | ... | @@ -2,15 +2,15 @@ import { mapState, mapActions } from 'vuex' |
| 2 | 2 | import Vue from 'vue' |
| 3 | 3 | |
| 4 | 4 | import 'core/support/index.js' |
| 5 | -import '../styles/index.scss' | |
| 5 | +import 'core/styles/index.scss' | |
| 6 | 6 | import 'animate.css' |
| 7 | 7 | |
| 8 | -import FixedTools from './fixed-tools/index' | |
| 9 | -import EditorRightPanel from './right-panel/index' | |
| 10 | -import EditorCanvas from './canvas/index' | |
| 11 | -import EditorActionMenu from './header/action-menu' | |
| 12 | -import EditorLeftPanel from './left-panel/index' | |
| 13 | -import PreviewDialog from './modals/preview.vue' | |
| 8 | +import FixedTools from 'core/editor/fixed-tools/index' | |
| 9 | +import EditorRightPanel from 'core/editor/right-panel/index' | |
| 10 | +import EditorCanvas from 'core/editor/canvas/index' | |
| 11 | +import EditorActionMenu from 'core/editor/header/action-menu' | |
| 12 | +import EditorLeftPanel from 'core/editor/left-panel/index' | |
| 13 | +import PreviewDialog from 'core/editor/modals/preview.vue' | |
| 14 | 14 | import Header from '@/components/common/header/index' |
| 15 | 15 | import Feedback from '@/components/common/feedback/index' |
| 16 | 16 | import AdjustLineV from 'core/support/adjust-line/vertical' | ... | ... |
front-end/h5/src/components/core/models/page.js
front-end/h5/src/components/core/plugins/index.js
| ... | ... | @@ -17,7 +17,7 @@ import LbpQQMap from 'core/plugins/lbp-qq-map/src' |
| 17 | 17 | import LbpLineChart from 'core/plugins/charts/line' |
| 18 | 18 | import LbpTable from 'core/plugins/lbp-table' |
| 19 | 19 | import LbpNewsList from 'core/plugins/lbp-news-list' |
| 20 | -// import LbpTabs from '../components/plugins/lbp-tabs' | |
| 20 | +// import LbpTabs from 'core/components/plugins/lbp-tabs' | |
| 21 | 21 | |
| 22 | 22 | export const pluginsList = [ |
| 23 | 23 | { | ... | ... |
front-end/h5/src/components/core/plugins/styles/bg-music.scss
front-end/h5/src/components/core/plugins/bg-music.svg renamed to front-end/h5/src/components/core/plugins/styles/bg-music.svg
front-end/h5/src/components/core/support/image-gallery/tabs/personal.js
| ... | ... | @@ -2,8 +2,8 @@ |
| 2 | 2 | * https://github.com/ly525/luban-h5/issues/138 |
| 3 | 3 | */ |
| 4 | 4 | import axios from 'axios' |
| 5 | -import ImageItem from '../components/image-item.js' | |
| 6 | -import Uploader from '../components/uploader.js' | |
| 5 | +import ImageItem from 'core/support/image-gallery/components/image-item.js' | |
| 6 | +import Uploader from 'core/support/image-gallery/components/uploader.js' | |
| 7 | 7 | |
| 8 | 8 | export default { |
| 9 | 9 | data: () => ({ | ... | ... |
front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js
| ... | ... | @@ -2,14 +2,14 @@ |
| 2 | 2 | * @Author: ly525 |
| 3 | 3 | * @Date: 2019-12-01 18:11:50 |
| 4 | 4 | * @LastEditors: ly525 |
| 5 | - * @LastEditTime: 2020-01-13 00:48:13 | |
| 5 | + * @LastEditTime: 2020-10-11 00:01:25 | |
| 6 | 6 | * @FilePath: /luban-h5/front-end/h5/src/components/core/support/image-gallery/tabs/pixabay.js |
| 7 | 7 | * @Github: https://github.com/ly525/luban-h5 |
| 8 | 8 | * @Description: Do not edit |
| 9 | 9 | * @Copyright 2018 - 2020 luban-h5. All Rights Reserved |
| 10 | 10 | */ |
| 11 | 11 | import axios from 'axios' |
| 12 | -import ImageItem from '../components/image-item.js' | |
| 12 | +import ImageItem from 'core/support/image-gallery/components/image-item.js' | |
| 13 | 13 | |
| 14 | 14 | export default { |
| 15 | 15 | data: () => ({ | ... | ... |
front-end/h5/src/components/core/support/video-gallery/tabs/personal.js
| 1 | 1 | /* |
| 2 | 2 | * @Author: ly525 |
| 3 | 3 | * @Date: 2020-01-12 20:42:09 |
| 4 | - * @LastEditors : ly525 | |
| 5 | - * @LastEditTime : 2020-01-13 00:39:29 | |
| 4 | + * @LastEditors: ly525 | |
| 5 | + * @LastEditTime: 2020-10-11 00:01:40 | |
| 6 | 6 | * @FilePath: /luban-h5/front-end/h5/src/components/core/support/video-gallery/tabs/personal.js |
| 7 | 7 | * @Github: https://github.com/ly525/luban-h5 |
| 8 | 8 | * @Description: Do not edit |
| 9 | 9 | * @Copyright 2018 - 2020 luban-h5. All Rights Reserved |
| 10 | 10 | */ |
| 11 | 11 | import axios from 'axios' |
| 12 | -import VideoItem from '../components/video-item.js' | |
| 13 | -import Uploader from '../components/uploader.js' | |
| 12 | +import VideoItem from 'core/support/video-gallery/components/video-item.js' | |
| 13 | +import Uploader from 'core/support/video-gallery/components/uploader.js' | |
| 14 | 14 | |
| 15 | 15 | export default { |
| 16 | 16 | data: () => ({ | ... | ... |
front-end/h5/src/router.js
| ... | ... | @@ -36,11 +36,6 @@ export default new Router({ |
| 36 | 36 | ] |
| 37 | 37 | }, |
| 38 | 38 | { |
| 39 | - path: '/about', | |
| 40 | - name: 'about', | |
| 41 | - component: () => import('./views/About.vue') | |
| 42 | - }, | |
| 43 | - { | |
| 44 | 39 | path: '/editor/:workId', // #!zh 编辑器页面,核心功能部分 |
| 45 | 40 | name: 'editor', |
| 46 | 41 | component: () => import('./views/Editor.vue') | ... | ... |