Docs›Languages
Web apps
In one sentence
NodeWeb type-checks your TypeScript, builds the app with Vite and tests it with Vitest. plinto run serves it while you work.
Build system
NodeWebStart one
plinto create node-web HelloWebShips asthe built site, a folder of static files
The project
index.html sits next to plinto.conf, the code in src/ and static files in public/. Your own vite.config.ts is used when there is one.
plinto.conf
{
name = HelloWeb
version = 1.0
build = NodeWeb
build-dependencies: {
NodeWeb = 1.0
Node = 24
TypeScript = 7
Vite = 8
}
dependencies: {
HelloTsLib = 1.0 # a TypeScript library, shared with a service
}
test-dependencies: {
Vitest = 5
}
}
Run it
$ plinto run
starts Vite's dev server, which reloads the page as you change the code.
What it releases
vite build writes the site to build/web, and the release is that folder: HelloWeb-1.0.tar.gz.