Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The frontend is built using Vue and TailwindCSS.
4. Run `npm install`
5. Run `npm run dev`
6. Run `php artisan key:generate`
6. Run `php artisan migrate`
7. Run `php artisan native:serve`


Expand Down
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'database' => env('DB_DATABASE', database_path('nativephp.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
Expand Down
66 changes: 35 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"autoprefixer": "^10.4.14",
"axios": "^1.1.2",
"axios": "1.6.0",
"laravel-vite-plugin": "^0.7.5",
"postcss": "^8.4.27",
"tailwindcss": "^3.3.3",
"postcss": "8.4.31",
"tailwindcss": "^3.4.7",
"vite": "^4.0.0"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
@vite([ 'resources/js/app.js', 'resources/css/app.css'])
</head>
<body>
<div id="app" class="h-full max-h-screen max-w-full">
<div id="app" class="h-full max-h-screen max-w-full min-h-screen flex flex-col">
@include('layouts.partials.header')

<main class="">
{{-- <main class="flex-grow">--}}
@yield('content')
</main>
{{-- </main>--}}


@include('layouts.partials.footer')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/project/index.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('layouts.app')

@section('content')
<section class="bg-gray-50 dark:bg-gray-900 p-3 sm:p-5">
<section class="bg-gray-50 dark:bg-gray-900 p-3 sm:p-5 flex-grow overflow-y-scroll">
<div class="mx-auto max-w-screen-xl px-4 lg:px-12">
<project-table></project-table>
</div>
Expand Down
7 changes: 6 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
Expand All @@ -6,7 +7,11 @@ module.exports = {
"./resources/**/*.vue",
],
theme: {
extend: {},
extend: {
colors: {
primary: colors.gray,
},
},
},
plugins: [],
}