Skip to content

Make your first change.

Change the title of Blank Home and see it inside your running Shell.

Continue from the quickstart

Complete Run Shell + MFE first. Use the existing my-app folder, with dependencies installed. Stop its running dev:all process with Ctrl+C and stay in the project root—the folder containing package.json.

Run Shell + MFE
Task for your coding agent

Use this in the existing project from the quickstart.

First-change agent task
Continue in the Shell + MFE project created by the FrontX quickstart.

Read these guides before editing:
https://frontx.constructor.rocks/get-started/shell-mfe.md
https://frontx.constructor.rocks/docs/first-change.md

Rename the English Blank Home screen title to "Project overview" and its description to "Your first change is running inside the Shell."

Keep the Blank Home menu entry, the application Shell, shared components and all other translations unchanged. Use the pinned versions from the guides. If the project or prerequisites are missing, explain what is needed before changing anything; do not seed over an existing project.

Run the documented type-check and rebuild the example. Report the changed files, command results and any remaining browser checks. Do not claim the screen works until it has been opened and checked.
Plain-text task
1

Find the screen

Blank Home belongs to _blank-mfe. You are changing an included example, not creating a new microfrontend. Keep the application host in src-app/app unchanged.

  • HomeScreen.tsx

    Screen layout, UI Kit components and bridge subscriptions.

    src-app/mfe_packages/_blank-mfe/src/screens/home/HomeScreen.tsx
  • i18n/en.json

    English text for this screen. This is the file you will edit.

    src-app/mfe_packages/_blank-mfe/src/screens/home/i18n/en.json
  • mfe.json

    Module registration and the Blank Home menu entry. Leave it unchanged.

    src-app/mfe_packages/_blank-mfe/mfe.json
2

Change the English text

Open src-app/mfe_packages/_blank-mfe/src/screens/home/i18n/en.json. Change title and description; keep the other five keys. The complete file for this pinned example is shown below. If you have already customized it, edit only those two values.

English screen text
{
  "title": "Project overview",
  "description": "Your first change is running inside the Shell.",
  "bridge_info": "Bridge Info",
  "domain_id": "Domain ID:",
  "instance_id": "Instance ID:",
  "current_theme": "Current Theme:",
  "current_language": "Current Language:"
}

The screen title becomes Project overview. The menu entry remains Blank Home.

3

Check and restart

Run from the my-app project root. The first command checks the workspace’s TypeScript; dev:all rebuilds the microfrontends, parses their JSON and starts the previews.

Check and restart
npm run type-check --workspace=@gears-frontx/blank-mfe
FRONTX_INCLUDE_TEMPLATE_EXAMPLES=1 npm run dev:all

Keep the terminal running. Restart dev:all after changes inside mfe_packages, including translation JSON: these microfrontends are built previews, not hot-reloaded screens.

4

Open Blank Home

Open http://localhost:5173 and choose Blank Home. With the host language set to English, the screen should show the title and description below. Other language files are unchanged.

Expected result · English
Blank Home

Project overview

Your first change is running inside the Shell.

If something looks different

The menu has no example screens

Stop the development servers and restart with FRONTX_INCLUDE_TEMPLATE_EXAMPLES=1 npm run dev:all. The templates deliberately hide their example entries without this flag.

The old title is still visible

Check that you changed _blank-mfe/src/screens/home/i18n/en.json, that the host language is English, and that you restarted dev:all after saving. Then reload the browser. Editing the translation changes the page title, not the Blank Home menu label.

The workspace or a port cannot be found

Run from my-app, not from the outer frontx-start folder or the template inventory. Complete npm install from the quickstart. The examples use ports 5173, 3001, 3099, 3201 and 3202; stop a previous run before restarting.

Keep track of your changes

.frontx/provenance.json records which templates and source versions were applied. It does not prove that your local edits will merge automatically. Keep a recoverable copy of your work and review changes before any upgrade. Do not rerun seed or add to refresh this screen; the MFE template is applied once per project.

Quickstart verification and limits