La importación no funciona con JavaScript en PhpStorm / Webstorm
Estoy tratando de ejecutar un fragmento de código JavaScript escrito en un tutorial que se vea así:
Main.js
import Vue from 'Vue';
import Alert from './components/Alert.vue';
new Vue({
el: 'body',
components: { Alert }
})
Sin embargo, PhpStorm está dando el siguiente error:
Las declaraciones de importación no son compatibles con la versión actual de JavaScript
¿Cómo puedo obtener un nuevo(?) Versión JavaScript en PhpStorm? ¿Ese es realmente el problema aquí?
56
1 answers
142
Author: Neal,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-03-29 21:36:59
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-03-29 21:36:59