Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

314
Views
Bitrix24 formularios en Nuxt 3

Estoy tratando de insertar un formulario de bitrix en mi componente Vue. ./components/Btrx24.vue

 <script lang="jsx"> export default { render() { return h('div', {}, [ h( 'script', { 'data-b24-form': 'click/12/7uz2pa', 'data-skip-moving': true }, ` (function (w, d, u) { var s = d.createElement('script'); s.async = true; s.src = u + '?' + ((Date.now() / 180000) | 0); var h = d.getElementsByTagName('script')[0]; h.parentNode.insertBefore(s, h); })(window, document, 'https://bitrix.santrek.ru/upload/crm/form/loader_12_7uz2pa.js'); `, ), h('a', {}, 'Some Link'), ]); }, }; </script>

tsconfig.json

 { "extends": "./.nuxt/tsconfig.json", "compilerOptions": { "noImplicitAny": false, "jsx": "preserve" } }

En la descripción de Bitrix se dice que inserta su etiqueta generada automáticamente antes del enlace o botón

 <script data-b24-form="click/12/7uz2pa" data-skip-moving="true"> (function (w, d, u) { var s = d.createElement('script'); s.async = true; s.src = u + '?' + ((Date.now() / 180000) | 0); var h = d.getElementsByTagName('script')[0]; h.parentNode.insertBefore(s, h); })( window, document, 'https://bitrix.santrek.ru/upload/crm/form/loader_12_7uz2pa.js', ); </script>

Como se supone que funciona:

Corre aquí


Lo que sucede al final es que las etiquetas se crean correctamente, pero el formulario bitrix no se crea y, en consecuencia, no se muestra.

Corre aquí

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!