Laravel
A quick guide to set up MYDS in a Laravel app.
Steps to install
Create a Laravel project
You will be prompted with a series of questions. You may choose whichever fit your project requirement(s):
Important
Laravel Breeze or Jetstream will handle the frontend setup for you, by installing the required dependencies. Just be sure to select React with Inertia
or any React
based option
After the project is created, head to the project root:
Configure CSS stylesheet
You may configure the styling through one of (2) methods listed below.
1. CSS import
2. Tailwind CSS
Please read the Style Configuration for more advanced configuration.
Configure vite.config.js
& Blade integration
Important
If you are using Laravel Breeze or Jetstream, this has been configured for you using an Inertia based setup. Otherwise, you need to configure it manually like below.
Start using the components!
Here is a <Button />
for you to get started!
If you are using an Inertia
setup, you can start using the components in your Pages
components.: