jquery update added to app.js
This commit is contained in:
11
package-lock.json
generated
11
package-lock.json
generated
@@ -14,7 +14,8 @@
|
||||
"@fortawesome/free-brands-svg-icons": "^7.2.0",
|
||||
"@fortawesome/free-regular-svg-icons": "^7.2.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
||||
"@vitejs/plugin-vue": "^6.0.5"
|
||||
"@vitejs/plugin-vue": "^6.0.5",
|
||||
"jquery": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@popperjs/core": "^2.11.8",
|
||||
@@ -23,7 +24,7 @@
|
||||
"bootstrap-icons": "^1.13.1",
|
||||
"concurrently": "^9.0.1",
|
||||
"laravel-vite-plugin": "^2.1.0",
|
||||
"sass": "^1.56.1",
|
||||
"sass": "^1.99.0",
|
||||
"vite": "^7.3.1"
|
||||
}
|
||||
},
|
||||
@@ -2009,6 +2010,12 @@
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/jquery": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/jquery/-/jquery-4.0.0.tgz",
|
||||
"integrity": "sha512-TXCHVR3Lb6TZdtw1l3RTLf8RBWVGexdxL6AC8/e0xZKEpBflBsjh9/8LXw+dkNFuOyW9B7iB3O1sP7hS0Kiacg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/laravel-vite-plugin": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-2.1.0.tgz",
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"bootstrap-icons": "^1.13.1",
|
||||
"concurrently": "^9.0.1",
|
||||
"laravel-vite-plugin": "^2.1.0",
|
||||
"sass": "^1.56.1",
|
||||
"sass": "^1.99.0",
|
||||
"vite": "^7.3.1"
|
||||
},
|
||||
"name": "alliance-services",
|
||||
@@ -36,6 +36,7 @@
|
||||
"@fortawesome/free-brands-svg-icons": "^7.2.0",
|
||||
"@fortawesome/free-regular-svg-icons": "^7.2.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
||||
"@vitejs/plugin-vue": "^6.0.5"
|
||||
"@vitejs/plugin-vue": "^6.0.5",
|
||||
"jquery": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
9
public/build/assets/app-BrzHxUPn.js
Normal file
9
public/build/assets/app-BrzHxUPn.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -24,13 +24,13 @@
|
||||
"src": "node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2"
|
||||
},
|
||||
"resources/js/app.js": {
|
||||
"file": "assets/app-BeW1e2-9.js",
|
||||
"file": "assets/app-BrzHxUPn.js",
|
||||
"name": "app",
|
||||
"src": "resources/js/app.js",
|
||||
"isEntry": true
|
||||
},
|
||||
"resources/sass/app.scss": {
|
||||
"file": "assets/app-CeAb0WUn.css",
|
||||
"file": "assets/app-DA5BKYgZ.css",
|
||||
"src": "resources/sass/app.scss",
|
||||
"isEntry": true,
|
||||
"name": "app",
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import './bootstrap';
|
||||
import * as bootstrap from 'bootstrap';
|
||||
|
||||
window.bootstrap = bootstrap;
|
||||
window.bootstrap = bootstrap;
|
||||
|
||||
import $ from 'jquery';
|
||||
window.$ = window.jQuery = $;
|
||||
$(document).ready(function() {
|
||||
console.log('jQuery is loaded.');
|
||||
});
|
||||
Reference in New Issue
Block a user