Route::prefix('messages')->as('messages.')->middlaware(ТУТ МИДЛВАРЕ)->group(....)
dd($request->route());
var myObjectManager = new ymaps.ObjectManager({ clusterize: true }),
currentId = 0;
// Добавление единичного объекта.
myObjectManager.add({
type: 'Feature',
id: currentId++,
geometry: {
type: 'Point',
coordinates: [56.23, 34.79]
},
properties: {
hintContent: 'Текст всплывающей подсказки',
balloonContent: 'Содержимое балуна'
}
});
map.geoObjects.add(objectManager);
if($journal->fill($request->except('image')) && $journal->save()) {
$request->all()
const StoryItem = (props) => {
let id, time, score, url, title, author;
if(props.storyId !== "") {
api.getStoryItem(props.storyId)
.then((response) => {
if(response.data) {
console.log('init var');
id = response.data.id;
time = response.data.time;
score = response.data.score;
url = response.data.url;
title = response.data.title;
author = response.data.by;
}
});
}
console.log('return result');
return (
<div>
<ul>
<li>
{props.storyId} {title}
</li>
</ul>
</div>
);
};
proxy('**', {target: 'http://mysite.loc'})
стоял последним в массиве, то ни черта ни чего не работало.middleware: [
proxy('**', {target: 'http://mysite.loc'})
historyApiFallback(),
webpackDevMiddleware(bundler, {
publicPath: config.output.publicPath,
noInfo: false,
quiet: false,
stats: {
assets: false,
colors: true,
version: false,
hash: false,
timings: false,
chunks: false,
chunkModules: false
},
}),
webpackHotMiddleware(bundler),
]
'windows-1251' . '//IGNORE'
windows-1251//IGNORE