elliot
elliot
NNuxt
Created by elliot on 1/2/2025 in #❓・help
Support for Custom Delimiter in CSV Import
Hello everyone! 😊 I’m facing an issue where I urgently need your help. Currently, there doesn’t seem to be an option to set a custom delimiter (e.g., 😉 for importing .csv files. The Problem: My .csv files contain numbers formatted with commas (e.g., 1,234), which makes it impossible to use , as a delimiter. I absolutely need to use ; as an alternative. What I’ve Tried: The linked documentation is unfortunately no longer accessible. On GitHub, I found one person with a similar issue, but there hasn’t been a solution yet. Why I Can’t Modify the .csv Files: Due to external constraints, I’m unable to manually edit or regenerate the .csv files in a different format. Suggestion: It would be amazing if Nuxt provided a way to define a custom delimiter, either through an option or a configuration file. Reproduction: A simple example setup where a .csv file with ; as the delimiter should be parsed correctly. Currently, this leads to parsing issues. Thank you for your time and the great work you’re putting into this project! 🙏 Let me know if I’ve missed anything
18 replies