Skip to content

Template for new vite+vue+tailwind project for dotnet 8.

Notifications You must be signed in to change notification settings

soukoku/my-vue-dotnet-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This template uses aspnet 8 as the backend and a vue app as the front end.

To do a quick test, go into the ClientUI folder in command line and run

cd WebApp/ClientUI
npm install
npm run dev

Then in another command window start the WebApp in dotnet

cd WebApp
dotnet run --launch-profile https

If it works you will be able to go to https://localhost:7082 and see a working page.

Published Site Url

The default published site is coded to use /template virtual path. This should be renamed (if different) or removed (if hosted at root).

Update Program.cs file's UsePathBase() call and vite.config.ts file's base property to make the changes.