我有lastvel 5.6运行npm命令的下一个错误输出带有bootstrap项目:
$ npm run dev
> @ dev /mnt/_work_sdb8/wwwroot/lar/B4test
> npm run development
> @ development /mnt/_work_sdb8/wwwroot/lar/B4test
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
sh: 1: cross-env: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. …Run Code Online (Sandbox Code Playgroud) 使用fullcalendar我需要没有页面重新加载来slotDuration根据其他条件更改参数:
我在一个案例中做
$('#calendar').fullCalendar('option', 'slotDuration', '00:15:00');
Run Code Online (Sandbox Code Playgroud)
而在其他情况下
$('#calendar').fullCalendar('option', 'slotDuration', '00:30:00');
Run Code Online (Sandbox Code Playgroud)
但看起来它不起作用,因为我总是看到fullcalendar与slotDuration=30(2个插槽)分钟,因为它在初始化时被调用.
如果有办法吗?
如果在路由器链接中设置了一种方法,则使用vuejs 2.5
target= '_blank'
Run Code Online (Sandbox Code Playgroud)
?我试过这种方式:
<router-link :to="{name: 'UserProfileView', params: {id: participantUser.user_id}, target: '_blank' }" >
Run Code Online (Sandbox Code Playgroud)
但失败了......
谢谢!