[]previous and next page

projectFiles

Every file of the generated project, keyed by relative path.

Every file of the generated project, keyed by relative path.

Import#

ts
import { projectFiles } from "create-shadow-app";

Signature#

ts
function projectFiles(options: ScaffoldOptions): Map<string, string>

Parameters#

Name Description
options What to generate. Only name is required.

Returns#

A map of relative POSIX path to text. Nothing is written.

Examples#

ts
projectFiles({ name: "app", tailwind: true }).get("src/index.css"); // '@import "tailwindcss";\n'