merge: First tutorial + Example (#804)

## Changes:

- /docs is now a Getting Started page with the first tutorial
- basic-example added
This commit is contained in:
João Demenech
2023-04-27 14:55:54 -03:00
committed by GitHub
parent 6d04e2d8c3
commit ad209c8f21
37 changed files with 12453 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
// Script executed before builds
import { exec } from "child_process";
import fs from "fs";
// If Vercel environment is detected
if (process.env.VERCEL_ENV) {
console.log(
"[scripts/fix-symlinks.mjs] Vercel environment detected. Fixing symlinks..."
);
// fs.unlinkSync('public/assets')
exec('cp -r ./content/assets ./public/')
}