In this project you can find examples of how to use Punch UI components library.
In PunchUIExamples/Pages
directory you will find examples how to use componens inside Razor pages.
In PunchUIExamples/app
directory you will find examples of how to use components inside KnockoutJs SPA application.
Make sure that you have VS 2019 at least 16.6, or alternatively .NET SDK You can check by running
dotnet --info
Also make sure that you have NodeJS installed (at least 10.x version) and available from command line.
node -v
- Follow insructions from section Building website from command line
- Open VS
- Make
PunchUIExamples
startup project - Hit Run.
cd PunchUIExamples/PunchUIExamples
- Install npm dependencies
npm install
- Prepare app vendor file
npm run webpack-vendor
- Build app
npm run build