How to introduce nuxt into js css File in assets File

nuxt documents say that static resources can be stored in assets and static. I want to refer to some global methods. There are instructions for usage in static documents, but assets only describes the references to pictures. Js uses src references and js under the same path of pictures cannot be introduced.

Aug.10,2021

look for the head attribute


there is a nuxt.config.js in the root directory

< H2 > module.exports = {css: ['@ / assets/*.css']} < / H2 >
Menu