Build tools
Learn how to use Argon’s included npm scripts to compile source code, run tests, and more.
Tooling setup
Our package.json includes convenient methods for working with the framework, including compiling code and building it for production. The template is based on Svelte, which is a radical new approach to building user interfaces. Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.
Svelte
Svelte is a component framework — like React or Vue — but with a significant difference. Traditional frameworks allow you to write declarative state-driven code, but there’s a penalty: the browser must do extra work to convert those declarative structures into DOM operations, using techniques like that eat into your frame budget and tax the garbage collector.
Rollup
Rollup is used to compile Svelte components.
Sirv-cli
A lightweight CLI that quickly starts a server to preview the assets of any directory.