![add shadow to image blocs app add shadow to image blocs app](https://builtwithblocs.com/img/author.jpg)
This way, we avoid been served an old version of the app in the browser.Ī good way of spotting files that belong to the code base is by looking at their names if they're random, they're part of it. *(excluding index.html and favicon.ico files, and dist/assets)īy default, the bundled files have random names, like and this is done for the purpose of getting different file names every time we build the app, so the browser doesn't use a old cached version of those production files. Let's take a look the folders in the development phase which are considered the be part of the code base: The name of the folders that are part of the code base will vary with the framework or library you use. When building apps, there are parts of the code that are bundled, becoming part of the code base, and others don't. #Basics of Plugin based architectures #What is the code base? Note: this is the second article in a series about Web Components the first one is here and explains what Web Components are and has some demo apps explained and built step by step. A video by Nikos Tsokos from Scotland's Angular Meetup about this app is included in the last section!ĭigging deeper: an advanced use case in Angular
![add shadow to image blocs app add shadow to image blocs app](https://i1.rgstatic.net/publication/262388750_Per-triangle_Shadow_Volumes_using_a_view-sample_cluster_hierarchy/links/55f6cb6108aeafc8abf4fe60/largepreview.png)
#Add shadow to image blocs app how to#
Let's dive in into the world of plugin based architectures using Web Components and learn how to plug them into React, Vue and Angular apps by dynamically importing them into our app from outside the code base, not bundling them.Īlso see an advanced use case by extending the functionality of the Tour of Heroes Angular app, implementing an advanced Web Component integration via a host Angular component, to display the universe each hero belongs to. What if we add Web Components to an app and not bundle them? #Plugin based architectures with Web Components