const view = require('think-view');
const model = require('think-model');

module.exports = [
  view, //make application support view
  model
];


const view = require('think-view');
const model = require('think-model');

module.exports = [
  view, //make application support view
  model(think.app)
];


Change model extend to be a function