For example, import myJson from './example.json' assert {type: 'json'} . Here is my index.html file that has a script tag pointing to an index.js module.
確定! 回上一頁