James Flower

C# .NET and Web Developer

Tag: vue.js

There are 3 posts with the "vue.js" tag.

Setup GitPod for Vue.js Development

Posted on
5 min read

GitPod is a cloud-based development environment which can be used to work with a variety of frameworks, including Vue.js. It is designed to be quick to spin up new instances of a development environment through automated scripts. One of the advantages of this is that it reduces the chance of encountering issues due to differences in environments, and ensures everyone has the tools they need to start working on a project quickly. However, I recently encountered a few issues when attemptin

Read more...

Configuring a Vue.js SPA with Environment Variables

Posted on
4 min read

In a previous blog post I showed how to set up ASP.NET Core Web API to support a Vue.js client SPA. In this post I will show how to extend on that example so that the Vue.js SPA supports a development and production configuration. Since I am extending the previous example, I am assuming the API is available at http://localhost:5000 when in development and for this example I will assume that the production API is available at https://example.com. Creating the configuration files

Read more...

Using a Vue.js SPA with ASP.NET Core Web API

Posted on
9 min read

I recently started working on a new side project and decided to implement it as a single page application (SPA). For this, I chose to build an API powered by an ASP.NET Core Web API and a Vue.js powered front-end to consume the API. I could find templates included in Visual Studio for AngularJS and React but nothing for Vue.js. Since I already have experience with Vue.js I decided to document the steps I used to create my starter project from a blank ASP.NET Core web app using ASP.NET Co

Read more...