VoltranJS:Voltran是由Hepsiburada技术团队开发的微前端框架-源码

上传者: 42113794 | 上传时间: 2021-02-01 12:05:37 | 文件大小: 60KB | 文件类型: ZIP
VoltranJS 什么是Voltran?为什么要使用它? Voltran是由Hepsiburada技术团队开发的微型前端框架。 帮助跨职能团队进行端到端的独立开发和部署。 如果需要具有以下功能的微型前端框架,则可以使用Voltran: 轻巧快速的API 服务单个和多个组件 预览(可视化组件) SEO友好(如果需要) CSS和SCSS支持 仅支持React(目前) 安装 Voltran需要运行 v10.15.0 +。 安装Voltran。 纱 $ yarn add voltranjs Npm $ npm install voltranjs 用法 这是一个示例组件。 首先,您应该导入@voltran/core 。 之后,我们可以编写组件的代码。 HelloWorld.js const voltran = require ( ' @voltran/core ' ); import React from ' react ' ; const ROUTE_PATHS = { HELLOWORLDPAGE : ' /HelloWorld ' , }; const Hel

文件下载

资源详情

[{"title":"( 79 个子文件 60KB ) VoltranJS:Voltran是由Hepsiburada技术团队开发的微前端框架-源码","children":[{"title":"VoltranJS-master","children":[{"title":"browserslist <span style='color:#111;'> 43B </span>","children":null,"spread":false},{"title":".nvmrc <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"voltran.js <span style='color:#111;'> 109B </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"styles.js <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"string.js <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"jsconfig.json <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":".yarnrc <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"webpack.common.config.js <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"webpack.server.config.js <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"babel.server.config.js <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"client","children":[{"title":"client.js <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"metrics.js <span style='color:#111;'> 400B </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"run.js <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"clean.js <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"task.js <span style='color:#111;'> 720B </span>","children":null,"spread":false},{"title":"start.js <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"fs.js <span style='color:#111;'> 270B </span>","children":null,"spread":false}],"spread":false},{"title":"bundle.js <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"assets","children":[{"title":"hepsitech.png <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"hepsiburada.png <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"server.js <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"api","children":[{"title":"controllers","children":[{"title":"index.js <span style='color:#111;'> 160B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"renderMultiple.js <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"render.js <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"public","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"universal","children":[{"title":"requests","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"partials","children":[{"title":"withBaseComponent.js <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"Welcome","children":[{"title":"styled.js <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"PartialList.js <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"partials.js <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"Welcome.js <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"core","children":[{"title":"cache","children":[{"title":"cacheManager.js <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"cacheUtils.js <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":false},{"title":"route","children":[{"title":"routeConstants.js <span style='color:#111;'> 463B </span>","children":null,"spread":false},{"title":"routeUtils.js <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"routesWithComponents.js <span style='color:#111;'> 262B </span>","children":null,"spread":false}],"spread":false},{"title":"api","children":[{"title":"ClientApiManagerCache.js <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"ServerApiManagerCache.js <span style='color:#111;'> 366B </span>","children":null,"spread":false},{"title":"ApiManager.js <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"ServerApiManager.js <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"ClientApiManager.js <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"react","children":[{"title":"ReactRenderContext.js <span style='color:#111;'> 119B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"tools","children":[{"title":"newrelic","children":[{"title":"newrelic.js <span style='color:#111;'> 262B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"model","children":[{"title":"Renderer.js <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"Request.js <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"Component.js <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"routes","children":[{"title":"routes.js <span style='color:#111;'> 516B </span>","children":null,"spread":false}],"spread":false},{"title":"common","children":[{"title":"network","children":[{"title":"apiUtils.js <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"components","children":[{"title":"route","children":[{"title":"HbRoute.js <span style='color:#111;'> 754B </span>","children":null,"spread":false}],"spread":false},{"title":"Preview.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"Html.js <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"ClientApp.js <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"PureHtml.js <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"App.js <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"RenderService.js <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"helper.js <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"logger.js <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"constants.js <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"baseRenderHtml.js <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"webpack.client.config.js <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 414B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"config.js <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"tools","children":[{"title":"prom.js <span style='color:#111;'> 20B </span>","children":null,"spread":false}],"spread":false},{"title":"os.js <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"cli.js <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 7.21KB </span>","children":null,"spread":false},{"title":".huskyrc.json <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 727B </span>","children":null,"spread":false},{"title":"postcss.config.js <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"babel.config.js <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":".prettierrc.json <span style='color:#111;'> 47B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明