我有一个 Nuxt 项目,我需要制作自定义函数和 Vue mixins 以在 Vue 组件和页面中重用。
In which folder should I put the files containing these? Should I create a 'lib' folder at the top level of the Nuxt project and put the files in there?
Extra details if that can help:
Nuxt Directory Structure Documentation
vue.js vuejs2 nuxt.js
nuxt.js ×1
vue.js ×1
vuejs2 ×1