Skip to content

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.

License

Notifications You must be signed in to change notification settings

LevelUpJosh-dev/fuse-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published