pepega페페가 – 17-01 Jun 6

Hi, how can I import javascript files inside of Vite? Can I use the import keyword or I need to import the file in <script> of the index.html in Vite.JS?
UU
Unknown User317d ago
P
pepega페페가317d ago
I have a class like this
UU
Unknown User317d ago
P
pepega페페가317d ago
I get this
UU
Unknown User317d ago
P
pepega페페가317d ago
Its an extension, it's a content script so I included it in the manifest
UU
Unknown User317d ago
P
pepega페페가317d ago
UU
Unknown User315d ago