├── .gitattributes
├── .laravel-7x-8x
└── README.md
├── LICENSE
├── README.md
└── resources
└── js
├── Pages
├── Auth
│ ├── Login.vue
│ └── Register.vue
├── HomeExample.vue
└── Welcome.vue
└── app.js
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/.laravel-7x-8x/README.md:
--------------------------------------------------------------------------------
1 | ## Laravel 7.x & 8.x
2 |
3 | To install, please follow these steps. **Note:** We assume you start with a fresh Laravel project.
4 |
5 | - `cd` to project directory
6 | - Laravel 7.x `composer require vikdiesel/admin-one-laravel-dashboard:1.3.x --dev`
7 | - Laravel 8.x `composer require vikdiesel/admin-one-laravel-dashboard:1.5.x --dev`
8 | - `composer require laravel/ui`
9 | - `php artisan ui:controllers`
10 | - `php artisan ui:auth`
11 | - `php artisan jb:admin-one-preset`
12 | - `npm install`
13 | - `npm run dev` or `npm run prod`
14 | - `php artisan migrate`
15 | - `php artisan db:seed`
16 |
17 | ## Laravel 9.x
18 |
19 | Please follow [guide for Laravel 9.x Jetstream Inertia Vue](https://github.com/vikdiesel/admin-one-laravel-dashboard).
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019-2022 JustBoil.me (https://justboil.me)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Free Laravel 9.x Vue.js 2.x Buefy Bulma Dashboard
2 |
3 |
4 |
5 | This guide will help you integrate your **Laravel Jetstream** application with [vikdiesel/admin-one-vue-bulma-dashboard](https://github.com/vikdiesel/admin-one-vue-bulma-dashboard) Vue Bulma Buefy dashboard.
6 |
7 | **Please note:** this document is work in progress, so [some things are missing](#work-in-progress).
8 |
9 | Simple, beautiful and free **Vue.js 2.x** **Bulma** **Buefy** admin dashboard for **Laravel 9.x Jetstream Inertia + Vue** stack
10 |
11 | * Built with **Vue.js 2.x** **Bulma** and **Buefy**
12 | * **Laravel 9.x Jetstream Inertia + Vue** stack
13 | * Laravel Mix
14 | * Classic **Options API** using `data`, `computed`, `methods`, etc.
15 | * SPA with **Vuex** & **Inertia Router**
16 | * **Styled** scrollbars
17 | * **SCSS sources** with variables
18 | * Reusable components
19 | * Responsive
20 | * Free under MIT License
21 | * [Premium versions](https://justboil.me/bulma-admin-template/) available
22 |
23 | ## Table of contents
24 |
25 | * [Install](#install)
26 | * [Copy styles, components and scripts](#copy-styles-components-and-scripts)
27 | * [Add pages](#add-pages)
28 | * [Fix router links](#fix-router-links)
29 | * [Add Inertia-related stuff](#add-inertia-related-stuff)
30 | * [Work in progress](#work-in-progress)
31 | * [Laravel 7.x & 8.x](#laravel-7x--8x)
32 |
33 | ## Install
34 |
35 | * [Install Laravel](https://laravel.com/docs/installation) application
36 | * [Install Jetstream](https://jetstream.laravel.com/2.x/installation.html) with Inertia + Vue stack
37 | * `cd` to project dir
38 | * Move `resources/js` folder to `resources-temp/js`. These js files will serve as a reference during development process (just in case, you'll ever need to extract some logic, that is missing here)
39 | * run `npm remove @inertiajs/inertia-vue3 @vue/compiler-sfc @tailwindcss/forms @tailwindcss/typography postcss postcss-import tailwindcss`
40 | * run `npm i vuex@^3 vue@^2 vue-loader@^15 @vue/composition-api @inertiajs/inertia-vue bulma buefy chart.js vue-chartjs numeral sass sass-loader -D`
41 |
42 | Replace `postCss()` with `sass()` and `app.scss` with `main.scss` in `webpack.mix.js`:
43 |
44 | ```javascript
45 | mix.js('resources/js/app.js', 'public/js').vue()
46 | .sass('resources/scss/main.scss', 'public/css')
47 | .alias({
48 | '@': 'resources/js',
49 | })
50 | ```
51 |
52 | ## Copy styles, components and scripts
53 |
54 | Clone either [vikdiesel/admin-one-vue-bulma-dashboard](https://github.com/vikdiesel/admin-one-vue-bulma-dashboard) or [vikdiesel/admin-two-vue-bulma-dashboard](https://github.com/vikdiesel/admin-two-vue-bulma-dashboard) project locally into a separate folder
55 |
56 | Next, copy these files **from cloned dashboard project** directory **to laravel project** directory:
57 |
58 | * Copy `src/components` `src/store` `src/menu.js` to `resources/js/`
59 | * Copy `src/App.vue` and `src/FullPage.vue` to `resources/Layouts/`
60 | * Copy `src/css` and `src/scss` to `resources/`
61 | * Copy `src/assets/justboil-logo.svg` to `resources/js/images/`
62 | * Delete `resources/css/app.css`
63 | * Copy `resources` directory **from this repository** to **to laravel project**
64 |
65 | ##### In resources/views/app.blade.php
66 |
67 | Replace `app.css` with `main.css`:
68 |
69 | ```php
70 |
71 |
72 | ```
73 |
74 | Add before `