Skip to content

Commit

Permalink
feat(core): export native api with
Browse files Browse the repository at this point in the history
  • Loading branch information
allen-zh committed Oct 28, 2019
1 parent b82ef33 commit 2e78071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mars-core/src/swan/index.js
Expand Up @@ -10,7 +10,7 @@ export const $platform = 'swan';

export {config};

export {default as API} from './nativeAPI';
export {default as $api} from './nativeAPI';
export {default as createApp} from './createApp';
export {default as createPage} from './createPage';
export {default as createComponent, vueCompCreator} from './createComponent';
Expand Down
2 changes: 1 addition & 1 deletion packages/mars-core/src/wx/index.js
Expand Up @@ -8,7 +8,7 @@ export const $platform = 'wx';

export {config};

export {default as API} from './nativeAPI';
export {default as $api} from './nativeAPI';
export {default as createApp} from './createApp';
export {default as createPage} from './createPage';
export {default as createComponent, vueCompCreator} from './createComponent';
Expand Down

0 comments on commit 2e78071

Please sign in to comment.