Skip to content

Decorator not running automatically #30

@NTICompass

Description

@NTICompass

CodeIgniter version: 4.4.8
Package version: 1.1.1

Describe the bug
Decorator does not run automatically. I don't know if I am missing a step in the setup, but I have everything set up and it's not loading and running the decorator to add the vite JS/CSS tags.

Expected behavior
I expect to see the vite/vue JS files added to the page to that everything works.

Additional context
I had to manually call \Mihatori\CodeigniterVite\Vite::tags() and then manually add the JS and CSS to my page. Why is it not automatically doing this? What am I missing?
I am also mixing this with https://github.com/amiranagram/inertia-codeigniter-4 but I don't think that's the issue. Because now that I am manually calling \Mihatori\CodeigniterVite\Vite::tags(), everything including inertia is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions