@startinblox/component-fc-ui
v1.1.0
Published
Startin'blox Boilerplate
Downloads
22
Keywords
Readme
Boilerplate
Table of Contents
Introduction
This is a boilerplate of startin'blox component.
Installation
npm installDevelopment
npm run watchTests
npm run cy:runor
npm run cy:openStorybook
npm run storybookBuild
npm run buildLocalization
This project uses @lit/localize for internationalization.
Extracting strings
To extract strings for translation, run:
npm run locale:extractThis command will generate XLIFF files in the locales directory.
Changing locale
To change the locale, run:
window.setLocale.map((setLocale) => setLocale("your-lang-code"));Getting current locale
To get the current locale, run:
window.getLocale.map((locale) => console.log(locale));