Build

Work with project code

Edit the local workspace, export it, or create a connected GitHub repository.

Layerwise keeps each project's source in a local workspace. Assistant changes and changes you make yourself use those same files.

Use the built-in editor

  1. Open the mode menu in the preview header.
  2. Choose Open in → Built-in editor.
  3. Select a file, make the edit, and save it.
  4. Return to Preview and refresh the app.

Built-in editor showing the project file tree and source code

Select a file in the tree to edit the same source used by the local preview.

The file tree supports creating, renaming, and deleting files or folders. Markdown files can be previewed. Binary files and files larger than 10 MB cannot be edited inline.

Open the workspace elsewhere

The Open in menu lists supported installed editors, terminals, and file managers. Select one to open the same local workspace in that app.

Open in menu listing the browser, the built-in editor, and installed editors, terminals, and file manager

Open in lets you choose the built-in editor or an installed app for the project workspace.

If an app is not listed, use a listed file manager to open the workspace folder.

Export a project

Open the project switcher at the top of the project sidebar and choose Export ZIP to save a ZIP archive of the current local workspace.

Project switcher menu with Unstar project, Fork project, Export ZIP, and New project

The project switcher at the top of the sidebar also holds the copy and export actions.

Connect GitHub

  1. In Account, select Connect GitHub if you have not connected it yet.
  2. Open Settings in the project sidebar, then GitHub.
  3. Choose the owner, repository name, description, homepage, and visibility.
  4. Select Create repository.

Layerwise creates and connects the repository. The page then shows Repository, where you can open the repository, change its settings, or select Disconnect repository. Disconnecting removes the project link; it does not delete the GitHub repository.

On this page