...
Zustand v4 is a global state management solution.
Development setup
Repository settings
Pre-release FOLIO modules are published to our folioci
package repository, apart from publicly available npm
. To install pre-release dependencies, you will need to configure your package manner to install @folio
-scoped packages from the folioci
repository by executing this in a command prompt:
...
Configure yarn to point to the dev repository:
$ yarn config set @folio:registry https://repository.folio.org/repository/npm-folioci/
Dev Workspace
...
Create a simple yarn workspace.
...
Clone a platform as well as
...
Code Block |
---|
{
"private": true,
"workspaces": [
"*"
],
"dependencies": {
"yarn": "^1.22.17"
}
} |
Set Okapi URL
Typescript
Linting
...
your ui-module code into the workspace.
Create a local copy of
stripes.config.js
- rename it tostripes.config.local.js
, for exampleAdd your ui module to the platform’s
package.json
andstripes.config.local.js
Set the okapi URL in
stripes.config.local.js
.In the platform directory, run your project with
yarn stripes serve stripes.config.local.js
Navigation/Routing
Settings
...