The usage of static files in nuxt

there is a static.js in the project that stores the static variables in the project

I think this file should be placed in the static folder, and import introduces

when using it.

colleagues feel that static files are used as dictionary plug-ins in the plugins folder, and references are also introduced by import

.

I think putting it in plugins violates the original meaning of the plug-in folder

which one should be better


then create a cofig folder (as a browser-side utility class and data dictionary) and write it as a configuration file, in which you can also create a new js, for public functions also introduced by import, my project is written like this, plugins only put plug-ins, static only put static files, css,font, parts of image and ueditor files and so on.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bf94-2bb2c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bf94-2bb2c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?