• Stars
    star
    179
  • Rank 207,570 (Top 5 %)
  • Language MDX
  • License
    MIT License
  • Created over 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Website & docs

Blitzjs.com - Website & Docs

Installation

yarn

Local Development

yarn dev

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Deployment

The main branch is automatically deployed to https://blitzjs.com

Language Translations

More info at blitzjs.com-translation!

Code Syntax Highlights

Code blocks are syntax highlighted using Prism. You can call attention to specific sections in a code block using comments to begin and end a block // highlight-start // highlight-end, or highlight a single line // highlight-line

const example = "not highlighted"
// highlight-start
const highlighted = true
// highlight-end
const notHighlighted = true
const alsoHighlighted = true // highlight-line

Handles

All H2 and H3 (or all titles that starts with ## or ###) needs a custom handle, the last part of the url:

                                     | This part |
https://blitzjs.com/docs/get-started#install-blitz

You add it in this way:

### Install Blitz {#install-blitz}

There are a few more rules:

  • All titles smaller than H3 (or the ones with more than ### at the start) must not have a handle.
  • The handles are entirely in lowercase and only the 26 letters of the English alphabet and numbers are allowed.
  • Instead of a space, use -.
  • There must not be two identical handles in the same document. If you have two identical titles, add a number at the end in order of appearance (not importance)

Example:

### Install Blitz {#install-blitz}

### Install Blitz {#install-blitz-1}

#### Install Blitz

## Install Blitz {#install-blitz-2}

If you aren't totally sure how the slug should look like, or just want to automate the process, run yarn english-slugify

Cards

You can use cards like this:

<Card type="info">
  Unlike Next.js, your `api/` folder should be a sibling of `pages/` instead
  of being nested inside. But `pages/api` is still supported for
  compatibility with Next.js.
</Card>

Properties:

  • type: 'caution' | 'info' | 'note'
  • title: string (optional)

More Repositories

1

blitz

โšก๏ธ The Missing Fullstack Toolkit for Next.js
TypeScript
13,417
star
2

superjson

Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.
TypeScript
3,746
star
3

next-superjson-plugin

SuperJSON Plugin for Next.js Pages and Components
Rust
182
star
4

babel-plugin-superjson-next

Automatically transform your Next.js Pages to use SuperJSON
TypeScript
125
star
5

awesome-blitzjs

Curated list of awesome resources for blitz.js
89
star
6

blitzjs.com-translation

Nexus of resources and tools for translating the Blitz docs.
TypeScript
14
star
7

ja.blitzjs.com

(Work in progress) Blitzjs.com website in Japanese!
JavaScript
13
star
8

github-bot

Our very own Github Bot
TypeScript
6
star
9

codesandbox-template

TypeScript
5
star
10

drafts

A place for RFCs and other documents to be drafted before official publication
5
star
11

zh-hans.blitzjs.com

(Work in progress) Blitzjs.com website in Simplified Chinese!
JavaScript
4
star
12

fr.blitzjs.com

(Work in progress) Blitzjs.com website in French!
JavaScript
4
star
13

blitz-realworld-example

TypeScript
4
star
14

art

Blitz.js Branding Assets
3
star
15

es.blitzjs.com

(Work in progress) Blitzjs.com website in Spanish!
JavaScript
3
star
16

discord-bot

The bot used on the Blitz Community discord server
TypeScript
3
star
17

id.blitzjs.com

(Work in progress) Blitzjs.com website in Indonesian!
JavaScript
2
star
18

community-intros-matcher

Algorithm to generate community intros matches.
TypeScript
2
star
19

legacy-framework

JavaScript
2
star
20

versions-diff-web

A web tool to support Blitz developers in upgrading their apps.
JavaScript
2
star
21

versions-diff

Shell
2
star
22

pt-br.blitzjs.com

(Work in progress) Blitzjs.com website in Brazilian Portuguese!
JavaScript
1
star
23

it.blitzjs.com

(Work in progress) Blitzjs.com website in Italian!
JavaScript
1
star
24

ko.blitzjs.com

(Work in progress) Blitzjs.com website in Korean!
JavaScript
1
star