packages/docs/src/routes/(blog)/blog/(articles)/introducing-qwik-starters/index.mdx
import { ArticleBlock } from '/routes/(blog)/blog/components/mdx/article-block';
import CodeSandbox from '/components/code-sandbox/index.tsx';
Nothing is more satisfying than playing with code and discovering new things! Yes, it is finally here, npm init qwik for you to try and discover a different way to build web apps that stay lean and performant no matter their size. It is the same technology that is powering builder.io and gets 100/100 PageSpeed.
Qwik starter CLI is a simple starter for you to try experimenting with Qwik first hand and to get a better understanding of just how different it is.
The CLI consist of these four examples, that will be expanded in the near future:
starter: A basic hello world.starter-builder: A basic hello world integrated with Builder's Qwik API.starter-partytown: A basic hello world showing how expensive tasks can be run on web-worker with Partytowntodo: A classic TodoMVC application.> npm init qwik
š« Let's create a Qwik project š«
ā Project name ⦠qwik-starter
ā Select a starter āŗ Starter
ā Select a server āŗ Express
āļø Success! Project saved in qwik-starter directory
š Next steps:
cd qwik-starter
npm install
npm start
> (cd qwik-starter; npm install; npm start)
Try it in StackBlitz.
> npm init qwik
š« Let's create a Qwik project š«
ā Project name ⦠qwik-builder
ā Select a starter āŗ Starter Builder
ā Select a server āŗ Express
āļø Success! Project saved in qwik-builder directory
š Next steps:
cd qwik-builder
npm install
npm start
> (cd qwik-builder; npm install; npm start)
Try it in StackBlitz.
> npm init qwik
š« Let's create a Qwik project š«
ā Project name ⦠qwik-partytown
ā Select a starter āŗ Starter Partytown
ā Select a server āŗ Express
āļø Success! Project saved in qwik-partytown directory
š Next steps:
cd qwik-partytown
npm install
npm start
> (cd qwik-partytown; npm install; npm start)
> npm init qwik
š« Let's create a Qwik project š«
ā Project name ⦠qwik-todo
ā Select a starter āŗ Todo
ā Select a server āŗ Express
āļø Success! Project saved in qwik-todo directory
š Next steps:
cd qwik-todo
npm install
npm start
> (cd qwik-todo; npm install; npm start)
Try it in StackBlitz.
We encourage you to open the dev tools and put all of the examples through the profiler to see how little time is spent on the main thread.
Happy coding and please provide feedback š
</ArticleBlock>