Simple website collection built with Qwik City for Hacktoberfest 2022
🎯 The repository contains projects based on web development i.e easy to advance level projects so as to get started with web development and make your journey smooth in the field of web development.
🎯 This repository is open to all the members of the GitHub community. Feel free to contribute to this repository.
🎯 Do not forget to ⭐ the repository.
First, fork the repository.
Clone the forked repository to your local machine.
git clone https://github.com/{YOUR-USERNAME}/qwiktober-2022.git
Add upstream URL
Create a new branch
git checkout -b branch_name
Make your contribution to public/websites
to add your own website to show-off
Commit and push the changes
git add .
git commit -m 'Relevant message'
git push origin branch_name
Create a new pull request from your forked repository (Click the New Pull Request
button located at the top of your repo)
Wait for your PR review and approval from the maintainers.
The src/data/contributors.ts
file is responsible for custom contributor data. Please don't edit others data if you don't want to get blocked by the maintainer!
Inside of you project, you'll see the following directories and files:
├── public/
│ └── ...
└── src/
├── components/
│ └── ...
└── routes/
└── ...
src/routes
: Provides the directory based routing, which can include a hierarchy of layout.tsx
layout files, and index.tsx
files as the page. Additionally, index.ts
files are endpoints. Please see the routing docs for more info.
src/components
: Recommended directory for components.
public
: Any static assets, like images, can be placed in the public directory. Please see the Vite public directory for more info.
Development mode uses Vite's development server. For Qwik during development, the dev
command will also server-side render (SSR) the output. The client-side development modules loaded by the browser.
npm run dev
Note: during dev mode, Vite will request many JS files, which does not represent a Qwik production build.
The Netlify CLI can be used to preview a production build locally. To do so: First build your site, then to start a local server, run:
npm i -g netlify-cli
npm run build
.npm run serve
.
In this project, npm run serve
uses the netlify dev
command to spin up a server that can handle Netlify's Edge Functions locally.