小编use*_*232的帖子

在laravel npm run dev错误:

我有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)

npm laravel

9
推荐指数
1
解决办法
9409
查看次数

在fullCalendar中更改slotDuration而不重新加载页面

使用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个插槽)分钟,因为它在初始化时被调用.

如果有办法吗?

javascript fullcalendar

4
推荐指数
1
解决办法
7692
查看次数

在vuejs 2.5的router-link中设置target ='_ blank'

如果在路由器链接中设置了一种方法,则使用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)

但失败了......

谢谢!

vuejs2 routerlink

4
推荐指数
1
解决办法
8587
查看次数

标签 统计

fullcalendar ×1

javascript ×1

laravel ×1

npm ×1

routerlink ×1

vuejs2 ×1