/fuse-fetch

Allows including HTML, and CSS files into an existing HTML page. Allowing for nested modular HTML with no other dependencies. Utilizes a custom web component along with all vanilla JS.

Primary LanguageJavaScriptMIT LicenseMIT

fuse-fetch

Fuse-fetch the simplist way to add HTML, CSS resources to your application nested with vanilla JS


Example

carbon (2)

To use this functionality simple include the node package as a script to the head fo your index.html and/or base html file. From there just utilize the new html tag to do a include of a resource

Basic Usage

carbon (1)

Resource Failed to Load Example

the example here will not cause the rest of your application to fail. Each fuse-fetch manages errors within the component and applies helpful error messaging to the element attributes as can be seen below. This means that indvidual modular sections of your site can/could fail to load for various reasons however the docuement load and the future fuse-fetch will process as normal.

carbon