Commit 22ab4bc4510a43b6385ab78cde2c834765750e3f

Authored by ly525
1 parent 8b43fd90

chore: move editor.js to editor/index.js

front-end/h5/src/components/core/editor.js renamed to front-end/h5/src/components/core/editor/index.js
1 1 import Vue from 'vue'
2   -import Element from './models/element'
3   -import './styles/index.scss'
  2 +import Element from '../models/element'
  3 +import '../styles/index.scss'
4 4  
5 5 export default {
6 6 name: 'Editor',
... ...
front-end/h5/src/views/Editor.vue
1 1 <script>
2 2 import Vue from 'vue'
3   -import CoreEditor from '../components/core/editor'
  3 +import CoreEditor from '../components/core/editor/index.js'
4 4  
5 5 import LbpButton from '../components/plugins/lbp-button'
6 6 import LbpPicture from '../components/plugins/lbp-picture'
... ...