Skip to content

Commit

Permalink
fix(core): move h5 entry to mars-core
Browse files Browse the repository at this point in the history
  • Loading branch information
allen-zh committed Sep 12, 2019
1 parent c73b93e commit b5654f5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
10 changes: 1 addition & 9 deletions packages/mars-core/src/h5/index.js
Expand Up @@ -3,13 +3,5 @@
* @description this file is for H5 runtime, and will be copied directly without compile or pack
* @author zhangwentao
*/
export {default as Vue} from 'vue';
export const config = {
$platform: 'h5',
router: {
mode: undefined,
base: undefined
}
};

export const $platform = 'h5';
export * from './mars-core';
15 changes: 15 additions & 0 deletions packages/mars-core/src/h5/mars-core/index.js
@@ -0,0 +1,15 @@
/**
* @file h5 runtime entry
* @description this file is for H5 runtime, and will be copied directly without compile or pack
* @author zhangwentao
*/
export {default as Vue} from 'vue';
export const config = {
$platform: 'h5',
router: {
mode: undefined,
base: undefined
}
};

export const $platform = 'h5';

0 comments on commit b5654f5

Please sign in to comment.