TailwindShift offers a command to upgrade your config file, to use it:
tailwind-shift tailwind.js --fixconfig=trueThis will generate a new file called tailwind.tw.js, check the file and rename it to tailwind.js if everything is ok.
tailwind-shift path/to/views/ --recursive=true --extensions=vue,php,htmlThis will generate new files (i.e: view.tw.php) as a safety procedure, you could use --replace=true to overwrite old files.
tailwind-shift path/to/directory/tailwind-shift path/to/directory/ --recursive=trueYou can also use the short hand -r true instead of the full --recursive=true
This will allow you to upgrade your vue, twig, css files and more!
tailwind-shift path/to/directory/ --extensions=vue,php,htmlYou can also use the short hand -e vue,php,html instead of the full --extensions
$ tailwind-shift path/to/directory/ --replace=trueTip Please note this can be considered a destructive action as it will replace the orignal file and will not leave a copy of the original any where.
tailwind-shift '<div class="text-grey pin-t"></div>'By default this will copy the code into a new file like file.html -> file.tw.html
tailwind-shift file.blade.phpuse --replace=true to overwrite the original file.
Prev: < Installation