spoferan-ui
v2.75.0
Published
The official NPM package of the SPOFERAN UI components.
Downloads
1,506
Readme
SPOFERAN UI kit
.
A Nuxt module to provide UI components and features for the SPOFERAN micro-frontends powered by Nuxt.
Setup
- Add
spoferan-ui
dependency to your project
yarn add spoferan-ui
- Add
spoferan-ui
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
// Simple usage
'spoferan-ui',
// With options
['spoferan-ui', { /* module options */ }]
]
}
Development
- Clone this repository
- Install dependencies using
yarn install
For detailed explanation on how things work, check out the Nuxt documentation.
Auto watch changes in other projects
We can create a symlink from this project to any other project that uses this package. By doing so, we benefit from auto hot module replacement in the consumer project when modifying files in the spoferan-ui
project.
- Create a link in this project (
spoferan-ui
):yarn link
- Use the link in the consumer project:
yarn link spoferan-ui
License
Copyright (c) SPOFERAN GmbH