承接 s00d/larecipe-code-viewer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

s00d/larecipe-code-viewer

最新稳定版本:2.1.2

Composer 安装命令:

composer require s00d/larecipe-code-viewer

包简介

A LaRecipe asset.

README 文档

README

LaRecipe CodeSimples

Getting Started

  1. Install the package via composer.
composer require s00d/larecipe-code-viewer
  1. Use the provided VueJs component:
<larecipe-code-viewer url="/api/v1/users"></larecipe-code-viewer>
  1. Customize your component via props:
Prop Name Description Data Type Required Default Value
baseUrl Defines the base URL for the requests. String Optional ''
url Defines the endpoint URL for the request. String Required N/A
method Defines the HTTP method for the request. String Optional 'GET'
cookies Defines the cookies to be sent with the request. Array Optional []
header Defines the headers to be sent with the request. Array Optional []
queryString Defines the query string parameters to be sent with the request. Array Optional []
path Defines the path parameters to be sent with the request. Array Optional []
postData Defines the data to be sent with the request. Array Optional []
configs Defines the configuration options for generating code snippets for the request. Array Optional [ { snippet: 'shell', libraries: { cURL: 'curl', HTTPie: 'httpie', Wget: 'wget' } }, ... ] (an array of objects containing snippet and libraries keys)

License

This library is licensed under the MIT License - see the LICENSE.md file for details.

统计信息

  • 总下载量: 99
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-20