重构优化框架

这是一个大版本的更新
现在,框架更加稳定
This commit is contained in:
橙子
2022-02-21 15:00:15 +08:00
parent 769cf2285a
commit 8d90abd22e
146 changed files with 801 additions and 15635 deletions

View File

@@ -0,0 +1,20 @@
/**
* plugins/app.js
*
* Automatically loads and bootstraps files
* in the `./src/components/` folder.
*/
// Imports
import Vue from 'vue'
const requireComponent = require.context('@/components', true, /\.vue$/)
for (const file of requireComponent.keys()) {
const componentConfig = requireComponent(file)
Vue.component(
componentConfig.default.name,
componentConfig.default || componentConfig,
)
}