All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed a bunch of foolish dependency bugs.
- Support for Vite 3.
- Pined Vite to version 2.9.
- Fixed a bug in the
app.js
which crept in when stubs were renamed.
- Install Node dependencies as DEV dependencies
- Fixed a small bug when installing composer dependencies that outputed text even when the verbosity was low.
- Made an update to the README file to state that the dev server needs to be started before browsing to the site after a fresh install.
- The vitamin:serve Artisan command was including the --https flag even if the https config option was set to false.
- Added https options to the vitamin.php config file
- Added an --https flag to the vitamin:serve Artisan command.
- Replaced router.js with Scripts/Routing/Router.js.
- The @tailwindcss/typography dependency has been added.
- Updated Welcome.vue.
- Cleaned up the InitCommand and moved a few things around.
- No longer using the Ziggy Vue plugin. Import {route} from the Router.js file instead.
- Removed the thepublicgood/deadbolt dependency, as it has a fairly specific use case.
- Fixes an issue where the package.json file is overwritten AFTER node dependencies are installed.
- Will now update the APP_URL setting in your .env file.
- Places a new Welcome.vue file in js/Pages.
- Replaced the default web.php routes file with a slightly modified version to return an Intertia instance.
- Fixed a bug parsing the integer port number.
- Fixed an odd bug in the dev server running test that.
- Fixed a bug in the dev server command that was getting the wrong host.
- Added support for a custom port number to be set.
- Added a new
vitamin:serve
Artisan command to replace the direct call tonpx vite serve
. - Change to an HTTP HEAD request instead of a GET request when checking if the dev server is running.
- Laravel 9+ support.
- Fixed a bug in
NodeDependencyInstaller
that was throwing an error when runningyarn
. - Fixed a bug in
InertiaInstaller
that wasn't placing the middleware inKernel
correctly.
- The installer classes array has been moved into the
vitamin
config file. - Lots of refactoring to help with new tests.
- Tailwind 3 configuration.
- Refactored the installer system.
- Added support for HTTPS. Use
vite-plugin-mkcert
to generate certificates.
- The
app.js
directory bug was still a problem, caused by a stupid error.
- The
app.js
file will be placed in the specified JavaScript directory.
- Installing JS files will now respect the specified directory
- The specified Inertia pages directory is created by default now.
- Added a
vitamin.php
config file. Just so you can specify the view composer class.
- Removed the blade
@vitamin
directive as it's causing problems as Laravel's blade cache.
- Added a
@vitamin
blade directive instead of the{!! $vitamin !! }
thing. Although it does require a cache reset when either building or running the dev server. - Fixed a bug in the new
Vitamin
class that was returning the incorrect element when linking to the CSS.
- Fixed a typo in the "@" alias set in
vite.config.js
.
- The init command will no longer ask for a "components" path.
- The Inertia installer will add the
HandleInertiaRequests
middleware to theKernel.php
file. - Removed the execution timeout from a number of processes.
- Fixed a bug not installing node dependencies correctly.
- Init command will now ask for a components path.
- Fixed a bug in the
LocalValetDriver
that was not loading static files correctly.
- Node dependencies are now added as dev dependencies.
- Updated the
README
to include a section on the view composer and how to extend it.
- The
AppComposer
class now has a protected$jsPath
property that points to theapp.js
location. This makes it easier to extend.
- Init command will now ask for a JS sources path.
- Fixed a path bug when specifying the JS path in
jsconfig.json
andvite.config.js
. - Init command will now strip slashes from provided paths.
- Fixed a bug in the
app.js
stub that was including the Vue path incorrectly.
- Remove the original
webpack.mix.js
file as it's no longer needed.