Skip to content

Order Invoice PDF - No publishable resource #2265

@alecgarcia

Description

@alecgarcia
  • Lunar version: 1.0.0-beta25
  • Laravel Version: 11.45.1
  • PHP Version: 8.4.11
  • Database Driver & Version: MySQL - 8.0.32

Expected Behaviour:

When following documentation on how to publish the view for the Order Invoice PDF it says to run the following command: php artisan vendor:publish --tag=lunar.hub.views

This results in a response of: INFO No publishable resources for tag [lunar.hub.views].

Also the documentation states that the file should be in the following path but is wrong and needs to be updated as well.
resources/vendor/lunarpanel/pdf/order.blade.php

Actual Behaviour:

The command should publish a view to the following path: resources/view/vendor/lunarpanel/pdf/order.blade.php

Steps To Reproduce:

Run Command: php artisan vendor:publish --tag=lunar.hub.views

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions