first
This commit is contained in:
8
packages/main/index.js
Normal file
8
packages/main/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import Main from './src/main';
|
||||
|
||||
/* istanbul ignore next */
|
||||
Main.install = function(Vue) {
|
||||
Vue.component(Main.name, Main);
|
||||
};
|
||||
|
||||
export default Main;
|
12
packages/main/src/main.vue
Normal file
12
packages/main/src/main.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<main class="el-main">
|
||||
<slot></slot>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'ElMain',
|
||||
componentName: 'ElMain'
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user