Tag: 'spas'

Coding Shorts: Nested Routing in Vue.js
Coding Shorts: Nested Routing in Vue.js
December 26, 2024

I've been working on a new Microservice example and I'm writing the client in Vue.js. Due to the nature of the project, I needed to use Nested Routing. I thought this might be a good topic for a Coding Short.

Using Angular's Base HREF in Paths
Using Angular's Base HREF in Paths
December 26, 2024

I was recently working with a client and they were having an odd problem with Angular. They'd build their Angular apps in isolation then move them into an ASP.NET Core project and their asset links would break. Let's look at why this happens and how to address it.

I Was Wrong - Hosting SPAs in ASP.NET Core
I Was Wrong - Hosting SPAs in ASP.NET Core
December 26, 2024

If you've seen my projects or courses over the last few years, I had been advocating for using NPM for client-side libraries and SPAs at the same time. This caused the need to merge generated packages.json files. This added to the complexity. In addition, to handle the client-side libraries with NPM, you needed a way to both read the node_modules folder during development. This was handled with some middle-ware created by the late, great @OdeToCode (K. Scott Allen).