primo-serve
v0.0.17
Published
A simple Proxy that serves your local development files.
Downloads
8
Readme
primoServe
A proxy for Primo, for serving local files. I use it to develop custom components. Nothing more, nothing less.
This is not a replacement for primo-explore-devenv
Usage
primoServe --vid=NUI --proxy=https://your.primo.url --dir=/directory/to/vids --ve
- vid: The ViewID that you wish to open
- proxy: Base URL to your Primo environment
- dir: The directory your data is stored in. The proxy will look in this directory for every path that starts with /primo-explore/custom/. If omitted the current directory will be taken.
- ve: Flag to mark this as a Primo VE custom package
Install
with yarn
yarn global add primo-serve
with npm
npm install -g primo-serve