Install fontawesome

main
Alex 2 years ago
parent 8c7ef7c187
commit ae29cb0d10

@ -1,9 +1,12 @@
{ {
"name": "html", "name": "src",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"dependencies": {
"@fortawesome/fontawesome-free": "^6.4.0"
},
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.2", "@tailwindcss/forms": "^0.5.2",
"alpinejs": "^3.4.2", "alpinejs": "^3.4.2",
@ -379,6 +382,15 @@
"node": ">=12" "node": ">=12"
} }
}, },
"node_modules/@fortawesome/fontawesome-free": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.4.0.tgz",
"integrity": "sha512-0NyytTlPJwB/BF5LtRV8rrABDbe3TdTXqNB3PdZ+UUUZAEIrdOJdmABqKjt4AXwIoJNaRVVZEXxpNrqvE1GAYQ==",
"hasInstallScript": true,
"engines": {
"node": ">=6"
}
},
"node_modules/@jridgewell/gen-mapping": { "node_modules/@jridgewell/gen-mapping": {
"version": "0.3.3", "version": "0.3.3",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",

@ -14,5 +14,8 @@
"postcss": "^8.4.6", "postcss": "^8.4.6",
"tailwindcss": "^3.1.0", "tailwindcss": "^3.1.0",
"vite": "^4.0.0" "vite": "^4.0.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.4.0"
} }
} }

@ -1,3 +1,5 @@
@import "@fortawesome/fontawesome-free/css/all.css";
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;

@ -1,4 +1,5 @@
import './bootstrap'; import './bootstrap';
import '../css/app.css';
import Alpine from 'alpinejs'; import Alpine from 'alpinejs';

@ -7,6 +7,7 @@ export default {
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php', './storage/framework/views/*.php',
'./resources/views/**/*.blade.php', './resources/views/**/*.blade.php',
'./resources/**/*.js',
], ],
theme: { theme: {

@ -5,7 +5,6 @@ export default defineConfig({
plugins: [ plugins: [
laravel({ laravel({
input: [ input: [
'resources/css/app.css',
'resources/js/app.js', 'resources/js/app.js',
], ],
refresh: true, refresh: true,

Loading…
Cancel
Save