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

253
Views
FontLoader doesn't work properly with Vuejs

I am using threejs in a vue project and I faced the same error as this when I was trying to create a text geometry even though the path to the typeface font is correct and it's json

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

I had the same issue, however I didn't figure out why loader.load was throwing this error. I solved it using loader.parse

Import the typeface json

import fontJson from "/src/assets/font/helvetiker_regular.typeface.json";

Use loader.parse instead

const font = loader.parse(fontJson);

If this won't work you aswell, maybe something is wrong with your JSON. I am sorry :(

about 4 years ago · Santiago Gelvez Report
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!