Skip to content

JohnnyWalkerDigital/Laravel-Breeze-Classless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

644d506 · Mar 2, 2023

History

31 Commits
Mar 2, 2023
Feb 21, 2023
Feb 21, 2023

Repository files navigation

Laravel Breeze without Classes

(In other words, no Tailwind classes to deal with.)

These are the default Laravel views (using a fresh Laravel Breeze installation) with all TailWind styles and superfluous HTML removed. No CSS is supplied at all. Everything is stripped bare and ready for you to start styling!

Supports Laravel 9 / 10 with Vite

Installation

Simply overwrite your resources/views folder in a fresh Laravel installation with the one supplied here. You will be good to go!

Note: Don't forget to remove the TailWind imports from your resources/app.scss.

Webpack users

If you're using Webpack, remove Tailwind from your webpack.mix.js configuration. You will most likely want to replace .postCSS() in your webpack.mix.js file with .sass().

For example:

  mix.js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css')
    .browserSync({
        proxy: 'http://localhost:8000/',
        notify: false
    })
    .disableNotifications()
    .version();

You will also need to update your references to your CSS/JS files in the layouts instead of using the Vite ones. Simple!

About

Default Laravel views folder with TailWind removed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages