Skip to content

Laravel blade html partials / components in node / JS environment

License

Notifications You must be signed in to change notification settings

sumo-apps/vite-blade-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite blade templates

This project is aimed to "simulate" Laravel blade html partials / components in node environment.

Basically replaces all <x-foobar></x-foobar> with contents of foobar.blade.php

To use

Copy vite.config.js to your vite project. It listens for changes to src/**.blade.php files, and replaces index.html tags beginning x-