Skip to content

Commit

Permalink
switching to fast-qs for esm-friendly build
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 18, 2024
1 parent f23fbbb commit d204df4
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"click-outside-vue3": "^4.0.1",
"datebook": "^8.0.1",
"dayjs": "^1.11.11",
"fast-qs": "^2.0.3",
"lodash": "^4.17.21",
"qs": "^6.12.1",
"sass": "^1.77.4",
"swiper": "^11.1.3",
"tailwindcss": "^3.4.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/components/FormContact/FormContact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<script lang="ts">
// @ts-nocheck
import { defineComponent } from 'vue'
import qs from 'qs'
import { stringify } from 'fast-qs'
import LayoutHelper from './../LayoutHelper/LayoutHelper.vue'
import BaseHeading from './../BaseHeading/BaseHeading.vue'
import BaseButton from './../BaseButton/BaseButton.vue'
Expand Down Expand Up @@ -134,7 +134,7 @@ export default defineComponent({
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
},
body: qs.stringify({
body: stringify({
full_name: data.full_name,
email: data.email,
subject: data.subject,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
<script lang="ts">
// @ts-nocheck
import { defineComponent } from 'vue'
import qs from 'qs'
import { stringify } from 'fast-qs'
import LayoutHelper from './../LayoutHelper/LayoutHelper.vue'
import BaseHeading from './../BaseHeading/BaseHeading.vue'
import BaseButton from './../BaseButton/BaseButton.vue'
Expand Down Expand Up @@ -280,7 +280,7 @@ export default defineComponent({
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
},
body: qs.stringify({
body: stringify({
'data[email]': data.email,
'data[fname]': data.first_name,
'data[lname]': data.last_name,
Expand Down
67 changes: 45 additions & 22 deletions pnpm-lock.yaml

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

0 comments on commit d204df4

Please sign in to comment.