dirtag must be specified on body for this library to work
If you would like to test changes to the picker from within a consumer application, follow these steps:
- Build the picker with
npm static-content-build - Point to your local copy of the picker from within the consumer application:
- Navigate to the consumer's package.json
- Find onenotepicker and replace the version number with the relative filepath to the picker root like this:
"onenotepicker": "file:../OneNotePicker-JS"
npm install/yarnfrom the consumer to source the local picker project.
- Create a symlink to your local picker package.
- Run
npm linkinside the picker project. - Navigate to the root of the consumer application.
- Run
npm link <relative path to picker root>
- Run
- Every time you make a change to the picker, you will need to build the picker (step 1).
Remember to build the project before publishing.