Download the PHP package eren-seyfi/codeigniter-vite-plugin without Composer
On this page you can find all versions of the php package eren-seyfi/codeigniter-vite-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eren-seyfi/codeigniter-vite-plugin
More information about eren-seyfi/codeigniter-vite-plugin
Files in eren-seyfi/codeigniter-vite-plugin
Package codeigniter-vite-plugin
Short Description Laravel-like @vite() helper for CodeIgniter 4
License MIT
Informations about the package codeigniter-vite-plugin
⚡ CodeIgniter Vite Plugin
🇬🇧 English • 🇹🇷 Türkçe
🇬🇧 English
This plugin lets you include Vite-built CSS/JS assets in CodeIgniter 4 views in a Laravel-like way ✅
⚠️ Note: This is not an official package released by the CodeIgniter or Vite teams.
It is a third-party library developed independently.
📦 Installation
🚀 Usage
1) 🧱 Generate Vite files
This command creates:
- ✅
resources/js/app.js - ✅
resources/css/app.css - ✅
vite.config.mjs
2) ⚙️ Install Vite and build
Add scripts to package.json:
Build:
💡 For auto rebuild during development:
3) 🧩 Add it to your HTML
In your layout/view file, put this inside the <head> section:
🎉 That’s it!
🇹🇷 Türkçe
CodeIgniter 4 projelerinde Vite ile build edilen CSS/JS dosyalarını Laravel benzeri şekilde view içine eklemeni sağlar ✅
⚠️ Not: Bu kütüphane CodeIgniter veya Vite ekibi tarafından yayınlanan resmi bir paket değildir.
Bağımsız (third-party) bir geliştirici tarafından geliştirilmiştir.
📦 Kurulum
🚀 Kullanım
1) 🧱 Vite dosyalarını oluştur
Bu komut şunları oluşturur:
- ✅
resources/js/app.js - ✅
resources/css/app.css - ✅
vite.config.mjs
2) ⚙️ Vite’ı kur ve build al
package.json içine scripts ekle:
Build al:
💡 Geliştirirken otomatik build için:
3) 🧩 HTML içine ekle
Vite dosyalarını eklemek için layout/view dosyanda <head> içine şunu yaz:
🎉 Hepsi bu!