Make sure you have the correct version on Node installed. We manage node versions with nvm. Type nvm use
to install the required version. You can also do so manually, see .nvmrc
for the required version.
npm install
Run the project with
npm run start
During development it can be useful to serve and build translation files continously. To do so you should run npm run watch-translations
and npm run serve-translations
Build a static storybook version with npm run build-storybook
Run it with npx http-server /storybook-static
.
Notice that serve
instead of http-server
doesn't really work. The previews do not show then.