0.0.20 • Published 3 months ago

@abtestingalpha/widget v0.0.20

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

Installing for local development and testing

Widget

  1. Clone repo
git clone git@github.com:abtestingalpha/widget.git
  1. Enter widget directory
cd widget
  1. Install dependencies for widget
yarn
  1. Use right node version
nvm use
  1. Create a link to the widget package to allow user in consumer app
yarn link
  1. Create a build to be used by consumer app. This is live reload (through Rollup's watch flag), which will need to remain running so changes to the widget code are updated in the build (which is referenced by the consumer app).
yarn watch

Example React consumer

  1. Open up another terminal window

  2. Enter React app directory

cd examples/with-react
  1. Install dependencies for React app
yarn
  1. Link widget to allow use in consumer app
yarn link @abtestingalpha/widget
  1. Start consumer app
yarn start
0.0.20

3 months ago

0.0.19

4 months ago

0.0.18

4 months ago

0.0.16

4 months ago

0.0.17

4 months ago

0.0.14

4 months ago

0.0.15

4 months ago

0.0.13

4 months ago

0.0.10

5 months ago

0.0.11

5 months ago

0.0.12

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago