0๐
โ
I finally find a turnaround.
Instead of behing stubborn and try at any cost to create a JSON file.
I went for a "mydata.js" file
with the inner structure
const data = {
Mykey1: 'Myvalue1',
HasKey1: true,
otherdata: 'yes'
}
export default data
and import it from my Vue file with
<script>
import AwsConfig from '@/config/mydata.js.js'
export default {
...
Source:stackexchange.com