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

127
Views
¿Cómo puedo importar solo dependencias de una sola vez para muchos archivos javascript?

Oye, estoy haciendo un complemento de wordpress y tengo dos archivos importantes. Index.js y funciones.js. Cuando importo una dependencia de jquery en index.js, tengo un error y también necesito importarlo en functions.js.

Quiero importarlo solo una vez, ¿cómo puedo hacer eso?

Gracias por tu ayuda ! 😍

importaciones de mi index.js ->

 import * as ui from 'jquery-ui'; import * as leaflet from 'leaflet'; import * as leafletAjax from 'leaflet-ajax'; import * as d3Array from 'd3-array'; import * as d3Geo from 'd3-geo'; import * as f from './fonctions.js';
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!