Vue multi-routing uses a template page, how to load local data files based on routing information (instead of simulating data requests)?

use vue to build a background management system, each page is very similar, are some tables and forms, want to share a page template, according to the different routes to dynamically load the data on the template page, the data is written in the local JSON file, how to achieve?

Mar.02,2021
Menu