目录
创建Input组件
在pages/index目录下的hml文件中创建一个Input组件。
<!-- xxx.hml --> <div class="container"> <input type="text"> Please enter the content </input> </div>
/* xxx.css */ .container { width: 100%; height: 100%; flex-direction: column; justify-content: center; align-items: center; background-color: #F1F3F5; }