Installation
To start using this design system you will need to import some files in your current project or start from scratch using our template (scroll down in this page to view it).
Prerequisites
If you don't already have an Apache local environment with PHP and MySQL, use one of the following links:
- Windows https://updivision.com/blog/post/beginner-s-guide-to-setting-up-your-local-development-environment-on-windows
- Linux https://howtoubuntu.org/how-to-install-lamp-on-ubuntu
- Mac https://wpshout.com/quick-guides/how-to-install-mamp-on-your-mac/
Also, you will need to install Composer: https://getcomposer.org/doc/00-intro.md
And Laravel: https://laravel.com/docs/9.x/installation
Installation
- Unzip the downloaded archive
- Copy and paste argon-dashboard-laravel-master folder in your projects folder. Rename the folder to your project's name
-
In your terminal run
composer install
-
Copy
.env.example
to.env
and updated the configurations (mainly the database configuration: database name, username and password, and set the APP_URL to the right path) -
In your terminal run
php artisan key:generate
-
Run
php artisan migrate --seed
to create the database tables and seed the roles and users tables -
Run
php artisan storage:link
to create the storage symlink (if you are using Vagrant with Homestead for development, remember to ssh into your virtual machine and run the command from there).
Usage
Register a user or login with data from your database and start testing (make sure to run the migrations and seeders for these credentials to be available).
Besides the dashboard, the auth pages, the billing and
tables pages, it has also an edit profile page. All the
necessary files are installed out of the box and all the
needed routes are added to
routes/web.php
. Keep
in mind that all of the features can be viewed once you
login using the credentials provided or by registering
your own user.
Tooling setup
Bootstrap CDN
Skip the download with BootstrapCDN to deliver cached version of Bootstrap’s compiled CSS and JS to your project.
CSS
Copy-paste the stylesheet
<link>
into your
<head>
before all other stylesheets to load our CSS.
JS
Many of our components require the use of JavaScript to
function. Specifically ,
Popper.js, and our own JavaScript plugins. Place the following
<script>
s near the end of your pages, right before the closing
</body>
tag, to enable them. Popper.js must come and then our
JavaScript plugins.
Need to use a certain plugin in your page? You can find out how to integrate them and make them work in the Plugins dedicated page. In this way you will be sure that your website is optimized and uses only the needed resources.
Bootstrap starter template
Be sure to have your pages set up with the latest design and development standards. That means using an HTML5 doctype and including a viewport meta tag for proper responsive behaviors. Put it all together and your pages should look like this:
Important globals
Argon Dashboard employs a handful of important global styles and settings that you’ll need to be aware of when using it, all of which are almost exclusively geared towards the normalization of cross browser styles. Let’s dive in.
HTML5 doctype
Bootstrap requires the use of the HTML5 doctype. Without it, you’ll see some funky incomplete styling, but including it shouldn’t cause any considerable hiccups.
Responsive meta tag
Bootstrap is developed mobile first, a strategy
in which we optimize code for mobile devices first and
then scale up components as necessary using CSS media
queries. To ensure proper rendering and touch zooming
for all devices,
add the responsive viewport meta tag to
your
<head>
.
You can see an example of this in action in the starter template.
Bootstrap components
Many of Bootstrap’s components and utilities are built
with
@each
loops that iterate over a Sass map. This is especially
helpful for generating variants of a component by our
$theme-colors
and creating responsive variants for each breakpoint. As
you customize these Sass maps and recompile, you’ll
automatically see your changes reflected in these loops.
Bootstrap tutorial
Please check our official Youtube channel for more tutorials.
Bootstrap components
Many of Bootstrap’s components and utilities are built
with
@each
loops that iterate over a Sass map. This is especially
helpful for generating variants of a component by our
$theme-colors
and creating responsive variants for each breakpoint. As
you customize these Sass maps and recompile, you’ll
automatically see your changes reflected in these loops.
Bootstrap tutorial
Please check our official Youtube channel for more tutorials.