Common GUI components and pre defined templates.
npm install @buerokratt-ria/common-gui-componentsChangelog file could be found here link
To create npm package for future usage:
* Navigate to the root directory of the package.
* Run npm pack command, to create package file.
* If you made updates to the package please relate to this file before creating package
To publish created package:
* Run npm publish --access public
* Authorize in npm and package would be published
package.json @buerokratt-ria/header: followed by version, list of available version could be found hereroot directory of the applicationpackage.json @buerokratt-ria/packageName: file:name-of-the-generated-packageNOT FOUND try adding to vite.config.ts resolve: {
alias: {
'@buerokratt-ria': ${path.resolve(__dirname, 'node_modules/@buerokratt-ria/packageName')}
},
}import { ExportName } from '@buerokratt-ria/packageName/src/index' for ExportedElement only* Using user store is critical for header to function since it contains information about user that would be shown in Header
* User store script in examples folder
* You must fetch initial data in App.tsx file and then delegate it to header for displaying