@fitmentgroup/viper-widgets
v0.2.13
Published
## Running
Downloads
18
Readme
viper-widgets
Running
yarn install
- Write your credentials in
.credentials.json
in this format:
{
"username": "[email protected]",
"password": "<password>"
}
node auth.js
yarn serve
How is this project used in viper?
- Browse or clone https://git.thegeck.com/demand/viper
- Check the file
src/viper/viper/Views/Shared/_ViperWidgetsLayout.cshtml
- There's a line using this package through unpkg:
(The double @
mean a single @
in cshtml/razor files)
Views using that layout will be able to access viper-widgets.
To see how components are used, browse any of the html pages on public/
.
Publishing
I like using np
:
npm install --global [email protected]
np --no-tests
How is this hosted and used?
This package is published to npm (https://www.npmjs.com/package/@fitmentgroup/viper-widgets)
We use the unpkg.com service (https://unpkg.com/@fitmentgroup/viper-widgets@next/umd/main.umd.js) on a script tag in any page we want to use this package in.