const ingredients = require.context(
  '@/pan', false, /\.vue$/
)

const meals = []

for (const file of ingredients.keys()) {
  if (file === './index.js' || file === './_Template.vue') continue

  meals.push(file.replace(/\.\/|.vue/g, ''))
}

export default meals

@@ -133,55 +133,25 @@
 file
- === './index.js' %7C%7C file === './_Template.vue'
+.search(/_/) %3E= 0
 ) co

use regex for excluding _Template.vue