F360 · 2026
Finanças admin panel (F360)
A Vue 3 SPA that lives alongside a legacy MVC inside a .NET monorepo. I migrated screens piece by piece, shipped contract and terms management, and measured the build before optimizing it.
- 218my commits to the SPA (~23% of the period)
- 223 → 130 sSPA build, local benchmark
- ~70 → ~38 sdev journey in the browser (median)
- 68test files touched
The problem
Finanças, F360's financial ERP, is a large monorepo with several generations living side by side. It has a historical MVC in .NET Framework, APIs and hosts in modern .NET, a processing console, shared libraries and, inside all of that, an admin SPA in Vue 3. Many people commit there at the same time: there were more than 3,000 commits during the period I worked on it.
Three problems showed up together:
- Important screens still lived in the MVC, but the legacy couldn't be switched off at once: customers, routines and rules depended on it.
- New admin areas needed to be born in the SPA, talking to services that other front ends also consume.
- The development cycle was slow, and nobody could say which step the time was going to.
What I did
Piece-by-piece migration, not a big bang
I moved an area from the MVC to the SPA without breaking whoever still used the old path. The change cut across the layers:
- a redirect in the MVC;
- routes, menu and types in the SPA;
- migration gates in the shared business layer;
- compatible routines in the .NET back end, with tests.
The legacy stays up as long as something still uses it. Each surface migrates when it's ready.
Contract and terms management
I built the admin area for viewing and managing contracts and the acceptance state of the terms: screens, menu entry, API integration and mocks for testing. The capability was released behind a feature flag. The SPA composes the experience; the back end, the same one that serves onboarding, decides and persists.
A shell with navigation variants
To avoid duplicating menus and layout for each SPA variant, I separated three things: choosing the variant, the navigation contract (what each variant offers) and a common visual shell. That way, a new SPA variant becomes configuration, without copying the whole layout.
Measure before optimizing
Before touching any configuration, I created reproducible benchmarks for three journeys: bringing up the environment and opening the app in the browser, running the build, and running the tests. With the numbers in hand:
- I separated validation from bundling;
- I kept the sequential build as an option;
- I optimized the Vite configuration and started loading some resources only when they are used;
- I set up an experimental CI with parallel jobs and tests split into shards.
SPA build
SPA + component library
Dev journey in the browser (median)
Decisions and trade-offs
Measure real journeys, not perceived time. "The build is slow" doesn't tell you what to do. A benchmark with the same machine, the same commands and the median of several runs does. The cost is time spent building the harness before the first optimization.
Parallel CI shortens the wait, but it isn't free. Independent jobs finish sooner, but each one pays for its own setup. The wait for whoever opened the PR goes down, and total runner minutes can go up. That's why the CI stayed an experiment, documented with that cost, and didn't replace the official pipeline.
Feature flag and migration by surface. Releasing in stages reduces risk, but leaves two paths alive for a while. That cost needs an owner and an end date.
Shared shell with a navigation contract. Centralizing avoids duplicated menus. The cost is that changing the contract means reviewing every variant.
Result
In a local benchmark, the SPA build went from 223 s to 130 s, and the SPA build with the component library went from 246 s to 175 s. The development journey in the browser went from about 70 s to about 38 s, at the median. These are local measurements with a small sample, and the proposal is still being validated with the team. It is not a production gain.
The migrated area and the contract and terms management are in the SPA, with tests, living alongside the MVC for as long as it's needed.
What I'd do differently
I'd make each optional benchmark metric count explicitly toward the success criteria. Today, an enabled metric can get worse without failing the run.
I'd make the workflow's path filter also cover changes in the MVC host, which can affect the SPA.
Before proposing parallel CI as the default, I'd collect a larger, paired sample, comparing wait time and runner minutes over the same period.