Skip to content

Как считать содержимое файла?

<input type="file" @change="readFile">
{
    async readFile(e) {
        const file = e.target.files[0];
        const text = await file.text();
    }
}

Источник