Custom modules location modules/{Module} in Laravel project.
composer.json
{| <!doctype html> | |
| <html lang="pl"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>CRM Pipeline</title> | |
| <style> | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; |
| /* | |
| Download fonts here: | |
| https://fontsource.org/fonts/poppins/install | |
| unzip all font files from static directory to fonts/poppins | |
| More fonts: | |
| https://www.npmjs.com/package/@fontsource/poppins | |
| https://github.com/fontsource/font-files/tree/main/fonts/google/poppins/files | |
| */ |
| /* Style from curl online: https://reqbin.com/curl */ | |
| .CodeMirror { | |
| font-family: monospace; | |
| height: 300px; | |
| color: black; | |
| direction: ltr; | |
| } | |
| .CodeMirror-lines { | |
| padding: 4px 0; |
W folderze produkcyjnym dist/assets/ obok standardowych plików (np. index-C3b8x2.js oraz index-B9a1x2.css) zobaczysz ich super-lekkie wersje z rozszerzeniem .br (np. index-C3b8x2.js.br).
Dodajesz tylko jeżeli potrzebujesz generować pliki z .br gdyż serwer nginx nie obsługuje modułu brotli.
# VueNie potrzebujesz tokenów Bearer gdy wysyłasz zapytania wyłącznie do własnych kontrolerów, powinieneś użyć uwierzytelniania opartego na ciasteczkach (Cookie-Based / Session Authentication) dostarczanego przez Laravel Sanctum.
// import WebsiteLayout from '@/layouts/website/Layout.vue';
import AppLayout from '@/layouts/AppLayout.vue';
import AuthLayout from '@/layouts/AuthLayout.vue';
import SettingsLayout from '@/layouts/settings/Layout.vue';
import { createInertiaApp } from '@inertiajs/vue3';| <div class="table-container"> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th>Nagłówek 1</th> | |
| <th>Nagłówek 2</th> | |
| <th>Nagłówek 3</th> | |
| <th>Nagłówek 1</th> | |
| <th>Nagłówek 2</th> | |
| <th>Nagłówek 3</th> |