<template>
<view class="content">
<test></test>
</view>
</template>
<script>
import test from "@/components/test/test.vue"
export default {
components:{
test
}
}
</script>
<!-- test -->
<template>
<view>
</view>
</template>
<script>
export default {
name:"test",
data() {
return {
};
},
created() {
console.log('组件被创建');
},
}
</script>