Sitemap
angularlicious

Articles about implementing enterprise patterns and principles in Angular applications. Learn how to implement Angular tooling like Schematics, Custom Libraries, and cross-cutting concerns to create amazing apps.

Material Button with Icon + Stackblitz

--

Press enter or click to view image in full size

I attended the Enterprise NG Conference by ng-conf last week. Eric Simons (@EricSimons40) the founder of StackBlitz got me re-engaged with StackBlitz. I learned about StackBlitz 3 years ago when I attended an Angular Meetup hosted by StackBlitz in San Francisco (2017). I was on a pleasure trip with my wife — however, when I found out that the Angular Core Team was going to be there that evening I just had to go. It was a fun night!

One of the main use-cases of StackBlitz is for online documentation — to show some code, or rather a working application within a browser. This is an amazing feat. You can load an entire development environment within a few seconds and start writing code. Seeing this live 3 years ago was amazing.

Get Matt Vaughn’s stories in your inbox

Join Medium for free to get updates from this writer.

It is easy to get a StackBlitz project embedded into a web page. I used the URL for my specific StackBlitz project and embedding it on my Medium blog. My URL:

https://stackblitz.com/edit/icon-button

The result is a running Angular application with:

  • Code Editor (Angular Project) with the latest version
  • Visual Studio Code experience in a browser
  • custom name for the StackBlitz project

You can click on the [Edit on StackBlitz] link and it will open the code and application in a separate window. You can also fork the project and modify the code.

More Uses for StackBlitz

There is a new version for the Enterprise that will allow private StackBlitz projects for a company — on-premise hosting of projects. This will allow for development teams to create and share proof-of-concept (POC) applications.

Some teams require a StackBlitz proof to accompany a bugfix item. This kind of project could demonstrate the issue with a code sample.

You could also use a StackBlitz project to target an Angular package — a custom package or a 3rd-party package you want to investigate and learn more about. You can create a POC project with working examples.

--

--

Matt Vaughn
Matt Vaughn

Written by Matt Vaughn

I love tacos, code, jazz, my husky and maybe 3 people in this world...and of course: Angular. Angularlicious podcast — more info at www.AngularArchitecture.com

angularlicious
angularlicious

Published in angularlicious

Articles about implementing enterprise patterns and principles in Angular applications. Learn how to implement Angular tooling like Schematics, Custom Libraries, and cross-cutting concerns to create amazing apps.