Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “So, instead of requesting fragment-1.html
directly from the absolute URL, we request it from the same CDN – leading to a pre-evaluated version, which does not contain any ESI directives.”
A block of code is set as follows:
// index.html (original) <esi:include src=”http://example.com/fragment1.html” /> // fragment1.html <esi:include src=”http://example.com/fragment2.html” /> // fragment2.html <div>...
Any command-line input or output is written as follows:
npm run build npm pack
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: “For instance, the My messages button in the header is coming from the messages micro frontend.”
Tips or important notes
Appear like this.