Added some javascript packages, jquery/select2/fontawesome/dropzone
This commit is contained in:
parent
de3371bd2f
commit
3be6be1f6c
1946
package-lock.json
generated
1946
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,15 +5,22 @@
|
|||||||
"build": "vite build"
|
"build": "vite build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@fortawesome/fontawesome-free": "5.11.2",
|
||||||
"@tailwindcss/forms": "^0.5.2",
|
"@tailwindcss/forms": "^0.5.2",
|
||||||
"@tailwindcss/typography": "^0.5.0",
|
"@tailwindcss/typography": "^0.5.0",
|
||||||
"alpinejs": "^3.0.6",
|
"alpinejs": "^3.0.6",
|
||||||
"autoprefixer": "^10.4.7",
|
"autoprefixer": "^10.4.7",
|
||||||
"axios": "^0.27",
|
"axios": "^0.27",
|
||||||
|
"jquery": "^3.6.1",
|
||||||
"laravel-vite-plugin": "^0.6.0",
|
"laravel-vite-plugin": "^0.6.0",
|
||||||
"lodash": "^4.17.19",
|
"lodash": "^4.17.19",
|
||||||
"postcss": "^8.4.14",
|
"postcss": "^8.4.14",
|
||||||
|
"sass": "^1.55.0",
|
||||||
"tailwindcss": "^3.1.0",
|
"tailwindcss": "^3.1.0",
|
||||||
"vite": "^3.0.0"
|
"vite": "^3.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"dropzone": "^6.0.0-beta.2",
|
||||||
|
"select2": "^4.1.0-rc.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
14
resources/js/bootstrap.js
vendored
14
resources/js/bootstrap.js
vendored
@ -12,6 +12,20 @@ window.axios = axios;
|
|||||||
|
|
||||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||||
|
|
||||||
|
// https://laracasts.com/discuss/channels/vite/laravel-vite-jquery
|
||||||
|
import '@fortawesome/fontawesome-free/scss/fontawesome.scss';
|
||||||
|
import '@fortawesome/fontawesome-free/scss/brands.scss';
|
||||||
|
import '@fortawesome/fontawesome-free/scss/regular.scss';
|
||||||
|
import '@fortawesome/fontawesome-free/scss/solid.scss';
|
||||||
|
import '@fortawesome/fontawesome-free/scss/v4-shims.scss';
|
||||||
|
|
||||||
|
import $ from 'jquery'
|
||||||
|
import select2 from "select2"
|
||||||
|
import dropzone from "dropzone"
|
||||||
|
|
||||||
|
window.jQuery = window.$ = $
|
||||||
|
window.Dropzone = Dropzone
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Echo exposes an expressive API for subscribing to channels and listening
|
* Echo exposes an expressive API for subscribing to channels and listening
|
||||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||||
|
Loading…
Reference in New Issue
Block a user