- Platform: Web
- Bundler: Aurelia-CLI
- Loader: SystemJS
- Transpiler: TypeScript
- Markup Processor: Minimal Minification
- CSS Processor: Sass
- Unit Test Runner: Jest
- Integration Test Runner: None
- Editor: None
- ASPNET .NET 6
- Bootstrap 5 w/ Scss
- Settings for VS2022 and VS Code.
-
Install chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
see ref -
Execute
choco install nodejs
. Should install v16.x+ -
Execute
choco install yarn
. Should install v1.22.15 -
Execute
yarn global aurelia-cli
. Should install > v2.0.3Note: Execute
refreshenv
or restart machine if you can't runyarn
. -
git clone this repo...
-
Choose your poison...
VS Code:
- Open root directory with VS Code.
- CTRL+` to open the terminal
- It should be in the Presentation.Web directory but if not, CD into it.
- Execute
yarn install
. - Go to Debug (CTRL+SHIFT+D) in VS Code.
- Switch to "launch (web)" configuration up top.
- CTRL+F5 and the browser should launch. (if it doesn't, click the restart button on debug toolbar)
Visual Studio 2022:
- Open PowerShell or Command Prompt and CD into Presentation.Web directory.
- Execute
yarn install
. - Open solution file.
- Install Web Extensions (Task Runner Explorer)
- Restart Visual Studio (w/ elevated permissions).
- If Task Runner Explorer shows an error.
- Go to Tools -> Options
- Projects & Solutions -> Web Package Management -> External Web Tools: Ensure path to nodejs is at the top of the list, typically "c:\program files\nodejs"
- Projects & Solutions -> Web Package Management -> Package Restore: Disable NPM Restore on Project Open and Save.
- In Task Runner Explorer, close the au-build-watch task that threw error. Double-click "au-build-watch" task to restart.
- Verify last line is "Finished 'writeBundles'.
- CTRL+F5 to Run w/o Debugging.