Help! require style import is forbidden
I'm going through the Notion clone build from July and get an error when trying to do a require style import as follows: const serviceKey = require("@/service_key.json"); But i get the red underlining of death and when i hover over it I get the following explanation (screenshot). Any thoughts/ideas?
2
2 comments
Steven Barrow
4
Help! require style import is forbidden
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by