Skip to content

Use ci-vite-react only in a section of the page #27

Answered by vago-me
sanchawebo asked this question in Q&A
Discussion options

You must be logged in to vote

use Mihatori\CodeigniterVite\Vite; $vite = Vite::tags(); $vite['js'] ?? null;
Should be in the controller, like this.

extend('templates/layoutFlaPo') ?> section('content'); ?>
endSection() ?>

in .env

VITE_AUTO_INJECTING=false

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vago-me
Comment options

Answer selected by sanchawebo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants