abeldotam’s avatarabeldotam’s Twitter Archive—№ 35,542

    1. If there's any #vuejs / #nuxtjs, I have a silly question: Do you know a way to dynamically import a json (statically, without any http call) in a component?
  1. …in reply to @abeldotam
    User case: let's say I have 3 json in my static folder (a.json, b.json and c.json) and I want my component to import one of them, as data, depending of a props that it received. If my parent pass 'a' as a props, then my component should get the 'a.json' as an import.