Skip to content

Several tools to help development and deployment of microfrontend web applications.

License

Notifications You must be signed in to change notification settings

utec/microfrontend-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microfrontend tools

Several tools to help development , build and deployment of microfrontend web applications.

Requirements

  • npm and Node.js

Import module

  • Execute :
npm install microfrontend-tools --save
  • Or manually add this to your package.json dependencies:
"dependencies": {
    "microfrontend-tools": "1.0.0"
}

Usage

import microfrontendTools from "microfrontend-tools";
var urlHelper = new microfrontendTools.UrlHelper();
var locationBasePath = urlHelper.getLocationBasePath();
console.log('locationBasePath: '+locationBasePath);

You will see in your browser log, something like :

locationBasePath: http://localhost:8080

or in production environment:

locationBasePath: http://my-awesome-web.com

About

Several tools to help development and deployment of microfrontend web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages