laravel-with-svelte-pug

Laravel With Svelte Pug

This is Laravel 6 template with svelte-loader and svelte-preprocessor that with support to PUG an SASS. Laravel Mix is already configured to run the additional plugins.

Read Me

Run below commands on your terminal first to install node-modules repositories and other laravel dependencies:
npm install
composer install

To use Svelte-Loader always run on your first test and everytime you make changes with our Svelte Files:
npm run dev

Then run
php artisan serve

To add/create svelte components files go to /resource/js/components or you can also add more folder under /resources/js directory for your svelte resources.

Features of Svelte-Preprocess

Template tag support

Add vue-like support for defining your markup between a