We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used vite as the pack tool, there is my vite config below:
import { defineConfig } from 'vite'; import laravel from 'laravel-vite-plugin'; import inject from "@rollup/plugin-inject"; import requireTransform from 'vite-plugin-require-transform'; export default defineConfig({ plugins: [ requireTransform({ fileRegex: /.(js|jsx|ts|tsx)$/, }), inject({ $: 'jquery', jQuery: 'jquery', }), laravel({ input: [ 'resources/css/chan.scss', 'resources/js/app.js', ], refresh: true, }), ], });
import "jquery-validation"; import "jquery.cookie"; import "jquery-form"; $(function() { $('#frm').validate(); $('#frm').ajaxForm({ success: function(response) { console.log(response); } }); });
I got TypeError: Ge(...).ajaxForm is not a function, other old jquery plugins works perfectly, need your help to solve this issue, thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
I used vite as the pack tool, there is my vite config below:
vite.config.js
app.js
I got TypeError: Ge(...).ajaxForm is not a function, other old jquery plugins works perfectly, need your help to solve this issue, thanks.
The text was updated successfully, but these errors were encountered: