mail(
"",
"",
"Message",
join("\r\n", [
"From: Почтовый робот <somebody@mail.ru>",
"To: eartem56@gmail.com",
"Subject: Добрый день!",
"Content-type: text/plain; charset=utf-8"
])
);
setTimeout(() => {
store.commit('increment', { a: 4 });
}, 2000);
оно изменилось, но в шаблоне компонента ничего не поменялось.module.exports = {
/*
** Headers of the page
*/
head: {
title: 'Доставка еды в Самаре EDA GO',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'Nuxt.js project' }
],
script:[
{ src: "https://3dsec.sberbank.ru/demopayment/docsite/assets/js/ipay.js" }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
css: [
'~/assets/css/main.scss',
'~/assets/css/link.scss',
'~/assets/css/button.scss',
'~/assets/css/title.scss',
'~/assets/css/input.scss',
'~/assets/css/radio.scss'
],
plugins: [
'~plugins/api.js',
{ src: '~/plugins/axiosInterceptor.js', ssr: false },
{ src: '~/plugins/inputmask.js', ssr: false },
{ src: '~/plugins/flowtype', ssr: false },
{ src: '~/plugins/localStorage.js', ssr: false },
{ src: '~/plugins/lazyLoad.js', ssr: false },
{ src: '~/plugins/veeValidate.js', ssr: false }
],
/*
** Customize the progress bar color
*/
loading: { color: '#EC2F33' },
/*
** Build configuration
*/
build: {
/*
** Run ESLint on save
*/
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
},
babel: {
presets: [
[ '@nuxtjs/babel-preset-app', {
targets: { ie: 11 }
}
]
]
},
}
}