Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1015 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 1015 Bytes

Werners typescript template

Project to help me learn more about MobX and Lit Live demo https://typescripttemplate.azurewebsites.net/

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

Available Scripts

npm install snowpack

Installs snowpack

npm start

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.

npm run build

Builds a static copy of your site to the build/ folder. Your app is ready to be deployed!

Publishing to azure

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

Credit

https://codepen.io/gabrielcojea