Ajay Yadav
Ajay Yadav

@ATechAjay

9 Tweets 2 reads Jan 26, 2023
โšก Hello world, in the Qwik framework!
A Thread ๐Ÿงต
So in this thread, we are going to set-up and build a Hello world app with the Qwik framework.
Prerequisite:
โ Node
โ Editor(VS Code)
We can create a Qwik app with CLI that allows you to create a basic working skeleton of an application.
1๏ธโƒฃ Run this command in the terminal:
This command also asked for ` npm installation ` then type "y" to approve.
After running the above command, it creates a the Qwik app folder something like this.๐Ÿ‘‡
Once the application is created, we have to change the working directory created by the above command.
2๏ธโƒฃ cd <Name of the Qwik app folder>
3๏ธโƒฃ npm start
๐ŸŽ‰ Congratulations, you have created your first Qwik app successfully.
Now inside the "src" folder, there is a "routes" folder, in this folder, you will get 2 files that are "index.tsx" and "layout.tsx"
src/routes
Actually, these both files contain the all elements of the default page of the Qwik app.
So, I am going to remove some default code for creating our "Hello world" app.๐Ÿ˜Š
โ›” If you have any doubt, follow the official docs:
qwik.builder.io

Loading suggestions...