Skip to content

solidjs/solidhack

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SolidHack

SolidHack

This is the source code for the SolidHack website: https://hack.solidjs.com/

Prerequisites

Install

  1. Clone the project locally: git clone https://github.com/solidjs/solid-site
  2. Change directory into your local copy: cd solid-site
  3. Install the dependencies: yarn install

Available commands

  • yarn install: Install the dependencies
  • yarn dev: Start the dev server
  • yarn build: Build the project
  • yarn build:sitemap: Generate the sitemap.xml file
  • yarn format: Format the whole project with prettier
  • yarn deploy:dev: Helper method to deploy to dev
  • yarn deploy:prod: Helper method to deploy to prod

PWA Testing

Solid Site supports PWA and worker auto updating powered by Vite PWA Plugin. When testing run yarn https-preview. Running it the first time will ask to install the certificate if not yet done. Then open your Chrome and press F12 > Network Tab > browse to https://localhost. Wait until the network requests with gears at the begining stops downloading the SW precache, then on the same Network Tab just change No throttling option to Offline. All pages should work by pressing F5 (do not do a hard refresh Crtl + F5 as it will force the browser to go to the server and the Chrome Dinosaur will appear).

Additional information

How do the documentation files work?

They're imported from the Solid Docs package. There's a script there that builds the markdown files into consumable JSON files, and the package provides functions to load them.

Credits

Contributions

We are actively accepting contributions to improve the Solid website. We accept PRs that are well-structured, have formatting applied and follow the general structure of the site. If you have any questions, want to report a bug or a general concern, feel free to reach us on GitHub Issues or Discord.

Sponsors

Thank you to our generous and helpful sponsors. If you're interested in sponsoring Solid, reach out to us on Discord.

About

Website and contest portal for SolidHack.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published