Project to help me learn more about MobX and Lit
Stack:
- Visual Studio Code
- Node.js
- TypesScript
- Snowpack App (CSA) build tool.
- MobX (instead of Redux)
- Lit 2.0 (LitElement update, instead of React)
- Jest for testing
- Prettier for code formatting
- Sass CSS extension
Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Builds a static copy of your site to the build/
folder.
Your app is ready to be deployed!
<!-- Child nodes -->
<h1>${this.pageTitle}</h1>
<!-- Attribute -->
<div class=${this.myTheme}></div>
<!-- Boolean attribute -->
<p ?hidden=${this.isHidden}>I may be in hiding.</p>
<!-- Property -->
<input .value=${this.value}>
<!-- Event listener -->
<button @click=${() => {console.log("You clicked a button.")}}>...</button>
run snowpack build then upload the build folder using this guide: https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=windows&pivots=development-environment-vscode