编写Hello World页面
最后更新于:2022-04-02 07:22:36
## Hello World
编写一个Hello World页面,并展示出来
1.在pages目录下,创建vue页面
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/c5/8d/c58da8f090bb469a6b9fbe32a927552d_1920x1080.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/29/0d/290de1626e366ffd50d3735278a2eb50_677x480.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/3d/1c/3d1c27218aec914c469d3964ea491882_964x405.png)
2.写一个简单的hello world页面
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/4b/d0/4bd079e7ad5d60b8c94632b456214e20_1050x582.png)
3.在pages.json页面配置上路径,pages数组中第一项表示应用启动页
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/75/af/75afaced7d8e7f21a561261f874418bc_788x430.png)
4.在route路由中配置路径
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/1e/2a/1e2a26210d5674383df2002296fcf971_754x427.png)
5.运行到内置浏览器
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/09/b0/09b07aea84832bdee792dfec6fa8c5a9_374x657.png)
';