# OIPage **Repository Path**: oi-contrib/OIPage ## Basic Information - **Project Name**: OIPage - **Description**: 前端网页或应用快速开发助手,包括开发服务器、辅助命令、实用API等 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: https://oi-contrib.github.io/OIPage - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-09-21 - **Last Updated**: 2025-09-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README - 💘 开源不易,去 [Github给个Star](https://github.com/oi-contrib/OIPage) 吧!

downloads npm issue GitHub repo stars forks Gitee repo stars forks

NPM # [OIPage](https://github.com/oi-contrib/OIPage) 前端网页或应用快速开发助手,包括开发服务器、辅助命令、实用API等。官网地址:[https://oi-contrib.github.io/OIPage](https://oi-contrib.github.io/OIPage) ## 如何使用? 你可以作为一个命令行使用,那么你需要全局安装: ```shell npm install -g oipage ``` 也可以作为项目开发中的一个功能加强,在 package.json 中配置命令或nodejs文件中引入需要的模块使用,那么就在项目中执行安装命令: ```shell npm install oipage --save ``` 安装后,就可以直接作为命令行使用了。你可以打印帮助查看: ```shell oipage-cli ``` 比如会出现类似下列内容: ``` OIPage@v1.2.0 可以使用的命令如下: 【1】oipage-cli serve 开发服务器 --port|-p 端口号 --baseUrl 服务器根目录 ...... ``` 根据提示我们知道,比如第一个命令,其提供了一个快速访问本地资源服务器的功能,比如执行: ```shell oipage-cli serve -p 8080 ``` 启动成功后,直接访问: http://localhost:8080/ 即可。 如果你需要在项目中使用,我们也提供了一些有用的API,具体可以访问[ 在线文档 ](https://oi-contrib.github.io/OIPage)进行了解。 ## 版权 MIT License Copyright (c) [zxl20070701](https://zxl20070701.github.io/notebook/home.html) 走一步,再走一步