0.0.2 • Published 6 years ago
cmobile-ui-t v0.0.2
cmobile-ui-t
安装
npm i cmobile-ui-t
使用
<template>
<div class="home">
<advertisement :ad="ad"></advertisement>
</div>
</template>
<style scoped>
.home {
width: 750px;
background-color: #f8f8f8;
}
</style>
<script>
import { Advertisement } from "cmobile-ui-t";
export default {
components: {
Advertisement
},
data() {
return {
ad: "topAd.json"
};
},
created() {},
methods: {}
};
</script>