Skip to content

Commit

Permalink
Add widget utility classes
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed Mar 13, 2024
1 parent f1ed502 commit 83183e0
Show file tree
Hide file tree
Showing 10 changed files with 1,368 additions and 65 deletions.
1,409 changes: 1,344 additions & 65 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"dev": "vite",
"build": "vite build"
},
"type": "module",
"author": "Studio 1902",
"devDependencies": {
"laravel-vite-plugin": "^0.7.2",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"vite": "^4.0.0"
}
}
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
plugins: {
tailwindcss: {}
},
};
1 change: 1 addition & 0 deletions resources/css/addon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "tailwindcss/utilities";
1 change: 1 addition & 0 deletions resources/dist/build/assets/addon-925e32a0.css

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

5 changes: 5 additions & 0 deletions resources/dist/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"resources/css/addon.css": {
"file": "assets/addon-925e32a0.css",
"isEntry": true,
"src": "resources/css/addon.css"
},
"resources/js/addon.js": {
"file": "assets/addon-d032ab20.js",
"isEntry": true,
Expand Down
1 change: 1 addition & 0 deletions resources/dist/hot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
http://[::1]:5173
1 change: 1 addition & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ServiceProvider extends AddonServiceProvider
protected $vite = [
'input' => [
'resources/js/addon.js',
'resources/css/addon.css',
],
'publicDirectory' => 'resources/dist',
];
Expand Down
5 changes: 5 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
content: [
'./resources/views/widgets/**/*.blade.php',
]
}
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/addon.css',
'resources/js/addon.js'
],
publicDirectory: 'resources/dist',
Expand Down

0 comments on commit 83183e0

Please sign in to comment.