@anavya6/single-spa-auth-app
v1.0.1
Published
Vue application with login form for be included in a single-spa application as registered app.
Downloads
2
Maintainers
Readme
single-spa-auth-app
This is a Vue application example used as NPM package in single-spa-login-example-with-npm-modules in order to register an application. See the installation instructions there.
✍🏻 Motivation
This is a vue application built as library which only contains the login form in order to perform the required login.
The needed options for the right build of the application as library are defined in the configureWebpack.output field.
The LimitChunkCountPlugin is used for disable chunks for build process. It's not necessary but I prefer keep whole application in one chunk as it will be embedded in another one.
Finally, in the chainWebpack field all common dependencies between single spa registered apps are defined as externals. In that way, all single spa registered apps will use the same dependencies and they will be imported only in the root project.