This library includes Vue.js UI components and mixins used by NethServer 8 UI.
Browse the components in the Storybook, published for each release.
Documentation of NS8 UI library can be found in this section of the Developer manual.
Install dependencies, needed only the first time:
npm installBuild the library:
npm run buildStart Storybook, to explore and test the components:
NODE_OPTIONS=--openssl-legacy-provider npm run storybookStart the playground, a local app to quickly test components (e.g. to reproduce a bug or to combine several components):
NODE_OPTIONS=--openssl-legacy-provider npm run playgroundEdit playground/App.vue for your tests, but do not commit your changes.
NODE_OPTIONS is needed with recent Node.js versions, since Storybook and the playground use webpack 4.
See the Developer manual for development containers, releases and testing a development version inside NS8 core or modules.