[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -28,10 +28,11 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { create } from '../utils';
|
||||
import { raf } from '../utils/raf';
|
||||
import scrollUtils from '../utils/scroll';
|
||||
|
||||
export default {
|
||||
export default create({
|
||||
name: 'van-tabs',
|
||||
|
||||
props: {
|
||||
@@ -200,5 +201,5 @@ export default {
|
||||
animate();
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user