Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
app crashing after Importing Json file to nuxt app

So I'm trying to import local JSON file to my nuxt app and display it but the size of the file is really big (400mb) and the app keeps crashing or the website won't load at all.

I already tried using another smaller JSON file and it worked perfectly.The memory used when loading the app went from 250mb to 4gb so i thought the problem would probably be because the JSON is too big.

Is there any way i can reduce it s size or make the app load the file ? (I've seen some similar issues that suggested lazy loading the component that imports the json but i'm not sure if that really can help) Here's my import

<script>
import Repdata from "../report/report1.json"
export default {
  data() {
    return {
      Rep: Repdata
    };

}}
</script>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!