5 ms·
What is the lowest ceremony way to start building a TypeScript SPA? I would love to avoid Webpack if I can :)
by yawgmoth 8y ago
What is the lowest ceremony way to start building a TypeScript SPA? I would love to avoid Webpack if I can :)
- mdgrech23 8y agoSee the quick start page. http://www.typescriptlang.org/samples/index.html http://www.typescriptlang.org/samples/index.html
- pietro 8y agoParcel has first class support for TypeScript. It's amazingly simple: https://hackernoon.com/zero-config-typescript-bundling-with-parcel-ef76fabcbfe3 https://hackernoon.com/zero-config-typescript-bundling-with-...
- theli0nheart 8y agoSeconding Parcel. Such a joy to work with compared with Webpack.
- GijsjanB 8y agoFirst class? Parcel uses Babel to transpile. Ugh. https://github.com/parcel-bundler/parcel/issues/954 https://github.com/parcel-bundler/parcel/issues/954
- sandGorgon 8y agoThe official create-react-app starter from Microsoft. https://github.com/Microsoft/TypeScript-React-Starter https://github.com/Microsoft/TypeScript-React-Starter
- aikah 8y ago> What is the lowest ceremony way to start building a TypeScript SPA? I would love to avoid Webpack if I can :) The only thing you need to build a SPA is Javascript, the DOM and history API. You literally do not need anything else. You can use CustomEvent and ES5 properties to observe a model changes, use string templates for the view,use event delegation to facilitate event handling, and implement MVC/MVP/MVVM yourself (3 classes...), you don't need a framework for that. Obvsiously you'll need a test runner, if you don't do automated testing, you can just download jasmine and run tests in the browser directly without the need to install node.js at all.