Skip to content

Tingsook1981/DotnetCoreWeb60viteJs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite.js ASP.net Core 6.0 integration

Start the dotnet app

NPM install as well as JS, SASS and purgeCss compilation are triggered when the the ASP.net solution is built.

Building from terminal

dotnet watch

or

CTRL-F5 or F5

Vite package.json

Install the packages

npm install

Scripts includes in package.json

npm run dev

npm run build

npm run preview

npm run purgecss

npm run watch

Vite.js doc

https://vitejs.dev/

PurgeCSS

Config with Bootstrap 5 whitelisting dynamic css classes.

Credits

Thanks to swildermuth for his explanation on this great Youtube video

https://www.youtube.com/watch?v=L23bAMdgOZA

About

Asp.net Core Web app with vite.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 22.1%
  • HTML 21.8%
  • CSS 21.4%
  • JavaScript 18.4%
  • SCSS 13.2%
  • Vue 3.1%