A professional starter project for TypeScript, Handlebars, and SCSS/SASS applications using Webpack as the bundler. This setup provides a modular, maintainable, and modern frontend workflow ready for development and production.
- TypeScript support with full type safety
- Handlebars templates precompiled and ready to use
- SCSS/SASS modular styles
- Webpack development server with hot-reload
- Production-ready bundling and optimization
- Easy-to-extend project structure
npm install
npm start
-
Opens a local dev server
-
Supports live reloading for scripts, styles, and templates
npm run build
-
Generates optimized bundle in dist/
-
Compiles TypeScript, SCSS, and Handlebars templates
-
Add your TypeScript code inside src/scripts.
-
Place SCSS styles in src/styles.
-
Add Handlebars templates in src/templates.
-
Import and use templates in TypeScript like this:
import template from './templates/my-template.hbs';
const html = template({ key: 'value' });
document.body.innerHTML = html;