AddFeature: 添加日期选择器
添加日期时间选择器 修改: - app.css - webpack.mix.js - package.json - package-lock.json 新增: - datepicker.js Signed-off-by: XiaoLFeng <gm@x-lf.cn>
This commit is contained in:
parent
4c74070898
commit
9489402bfd
19
package-lock.json
generated
19
package-lock.json
generated
|
@ -11,10 +11,11 @@
|
|||
"autoprefixer": "^10.4.14",
|
||||
"axios": "^0.21",
|
||||
"flowbite": "^1.6.5",
|
||||
"flowbite-datepicker": "^1.2.2",
|
||||
"laravel-mix": "^6.0.6",
|
||||
"lodash": "^4.17.19",
|
||||
"postcss": "^8.4.24",
|
||||
"tailwindcss": "^3.3.2"
|
||||
"tailwindcss": "^3.3.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@alloc/quick-lru": {
|
||||
|
@ -4605,6 +4606,15 @@
|
|||
"mini-svg-data-uri": "^1.4.3"
|
||||
}
|
||||
},
|
||||
"node_modules/flowbite-datepicker": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmmirror.com/flowbite-datepicker/-/flowbite-datepicker-1.2.2.tgz",
|
||||
"integrity": "sha512-qOKDVtwkiOa0RrhD3sRtT45H8efAtyLiswuFIAV0UBhWSRYonzL0g1gAZwHiRRKtSmbET/8RQpQXlSEmAgadkg==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"flowbite": "^1.4.5"
|
||||
}
|
||||
},
|
||||
"node_modules/follow-redirects": {
|
||||
"version": "1.15.2",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
||||
|
@ -8305,9 +8315,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/tailwindcss": {
|
||||
"version": "3.3.2",
|
||||
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz",
|
||||
"integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==",
|
||||
"version": "3.3.3",
|
||||
"resolved": "https://registry.npmmirror.com/tailwindcss/-/tailwindcss-3.3.3.tgz",
|
||||
"integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==",
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
"arg": "^5.0.2",
|
||||
|
@ -8329,7 +8339,6 @@
|
|||
"postcss-load-config": "^4.0.1",
|
||||
"postcss-nested": "^6.0.1",
|
||||
"postcss-selector-parser": "^6.0.11",
|
||||
"postcss-value-parser": "^4.2.0",
|
||||
"resolve": "^1.22.2",
|
||||
"sucrase": "^3.32.0"
|
||||
},
|
||||
|
|
|
@ -13,10 +13,11 @@
|
|||
"autoprefixer": "^10.4.14",
|
||||
"axios": "^0.21",
|
||||
"flowbite": "^1.6.5",
|
||||
"flowbite-datepicker": "^1.2.2",
|
||||
"laravel-mix": "^6.0.6",
|
||||
"lodash": "^4.17.19",
|
||||
"postcss": "^8.4.24",
|
||||
"tailwindcss": "^3.3.2"
|
||||
"tailwindcss": "^3.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/forms": "^0.5.3"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
@import url("https://npm.akass.cn/bootstrap-icons@1.10.0/font/bootstrap-icons.css");
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
|
3210
resources/js/datepicker.js
Normal file
3210
resources/js/datepicker.js
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -18,7 +18,8 @@ const mix = require('laravel-mix');
|
|||
*/
|
||||
|
||||
mix.js('resources/js/app.js', 'public/js')
|
||||
.js('resources/js/datepicker.js', 'public/js')
|
||||
.postCss('resources/css/app.css', 'public/css', [
|
||||
require("tailwindcss")
|
||||
require("tailwindcss"),
|
||||
])
|
||||
.copy('resources/images/*', 'public/images');
|
||||
|
|
Loading…
Reference in New Issue
Block a user