docs: add getting started + basic info (#16)

This commit is contained in:
Luca Casonato
2021-06-02 13:28:44 +02:00
committed by GitHub
parent 41307a5ac8
commit 91b4d239ad
5 changed files with 145 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export async function routesSubcommand(rawArgs: Record<string, any>) {
export async function routes(directory: string) {
const files = [];
const pagesDir = join(Deno.cwd(), directory, "./pages");
const pagesDir = join(directory, "./pages");
const pagesUrl = new URL(pagesDir, "file:///");
const folder = walk(pagesDir, {
includeDirs: false,