在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:millermedeiros/crossroads.js开源软件地址:https://github.com/millermedeiros/crossroads.js开源编程语言:JavaScript 96.4%开源软件介绍:IntroductionCrossroads.js is a routing library inspired by URL Route/Dispatch utilities present on frameworks like Rails, Pyramid, Django, CakePHP, CodeIgniter, etc... It parses a string input and decides which action should be executed by matching the string against multiple patterns. If used properly it can reduce code complexity by decoupling objects and also by abstracting navigation paths. See project page for documentation and more details. LinksDependenciesThis library requires JS-Signals to work. LicenseDistribution FilesFiles inside
You can install Crossroads on Node.js using NPM
Repository StructureFolder Structure
Branches
Building your ownThis project uses Node.js for the build process. If for some reason you need to build a custom version install Node.js and run:
This will delete all JS files inside the IMPORTANT: Running unit testsOn the browserOpen
On Node.jsInstall npm and run:
Each time you run |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论