How to install PageShare using NPM?
To use it locally on your machine, go to the directory you have your web app project, built it and execute:
npx @pageshare/cli ./dist
npm install -g @pageshare/cli pageshare ./dist
./dist with a path to your built frontend project (must include
In order to finish the process, you need to create an account on PageShare.dev and provide your personal access token in a command as
--access-token ... or as an environment variable
PAGESHARE_ACCESS_TOKEN. Copy your access token from https://www.pageshare.dev/user/settings.
More details about all possible config parameters you can read in the documentation.