aspire-samples icon indicating copy to clipboard operation
aspire-samples copied to clipboard

feat: Add Vite configuration files and main.tsx

Open michaelto20 opened this issue 1 year ago • 3 comments

This adds the necessary Vite configuration files and the main.tsx file to the AspireJavaScript.Vite sample project. The Vite configuration files include vite.config.ts, tsconfig.json and default.conf.template, which are essential for setting up the Vite development environment. This commit sets up the basic structure of the Vite project.

michaelto20 avatar Aug 15 '24 15:08 michaelto20

@IEvangelist I did test it locally and in Azure and it worked so I assume the containerization aspect worked. Is there a different way to double check? I've just run it and here are the screen captures for both the dashboard and weather app when running locally and in Azure using azd up. Is this what you were looking for? AspireDashboardAzure AspireViteLocalDashboard AspireViteWeatherLocal ViteAspireWeatherAzure

michaelto20 avatar Aug 15 '24 20:08 michaelto20

@IEvangelist I did test it locally and in Azure and it worked so I assume the containerization aspect worked. Is there a different way to double check? I've just run it and here are the screen captures for both the dashboard and weather app when running locally and in Azure using azd up. Is this what you were looking for? AspireDashboardAzure AspireViteLocalDashboard AspireViteWeatherLocal ViteAspireWeatherAzure

Yeah, this is great! Thank you @michaelto20 - much appreciated.

IEvangelist avatar Aug 16 '24 15:08 IEvangelist

@IEvangelist I got distracted with work for a bit but trying to get this across the finish line. The build broke but I think it was related to an environmental error and not my code, as far as I can tell. Do you mind kicking off another build to see if it works? I tried to figure out how to do that but couldn't figure it out.

michaelto20 avatar Oct 03 '24 18:10 michaelto20