承接 laravel/nova-devtool 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laravel/nova-devtool

最新稳定版本:v1.8.12

Composer 安装命令:

composer require --dev laravel/nova-devtool

包简介

Devtool for Laravel Nova Development

README 文档

README

Nova Devtool

Installation

You can install the Nova tool via Composer:

composer require --dev laravel/nova-devtool

Once installed, you can run the following to update NPM's package.json:

npm install --save-dev @laravel/nova-devtool

Usage

Setup Laravel Nova Workbench

Laravel Nova Devtool can setup a basic Laravel Nova installation using workbench directory via Orchestra Workbench. To start the installation you can run the following command:

php vendor/bin/testbench nova:devtool setup

Once the installation is completed, you should be able to serve Laravel Nova by running the following command:

composer run serve

Automatically logged-in the default user

Instead of manually logging-in the user, you may also change testbench.yaml to automatically authenticate the user:

workbench:
  start: /nova
+ user: nova@laravel.com
  build:

Install Axios, Lodash, Tailwind CSS or Vue

To simplify the installation, you can run the following command:

php vendor/bin/testbench nova:devtool install

Enables Vue DevTool for Laravel Nova

By default, Laravel Nova ship with JavaScript compiled for production without Vue DevTool. In order to enable Vue DevTool, you need to run the following command:

php vendor/bin/testbench nova:devtool enable-vue-devtool

Disables Vue DevTool for Laravel Nova

To reverse the above action, you need to run the following command:

php vendor/bin/testbench nova:devtool disable-vue-devtool

Upgrading from Nova 4

Nova Devtool ships with a generic nova.mix.js instead of publishing the file on each 3rd-party components. For external 3rd-party component you just need to include change the following code in webpack.mix.js:

let mix = require('laravel-mix')

-require('./nova.mix')
+mix.extend('nova', new require('laravel-nova-devtool'))

mix
  .setPublicPath('dist')

  // ...

Finally, you can remove the existing nova.mix.js from the component root directory.

统计信息

  • 总下载量: 260.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 30
  • 点击次数: 0
  • 依赖项目数: 117
  • 推荐数: 0

GitHub 信息

  • Stars: 29
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固