index.js 391 B

1234567891011121314151617181920
  1. define([
  2. 'text!./index.html',
  3. 'css!./index.css'
  4. ], function (html) {
  5. return {
  6. props: {
  7. recommend: {
  8. type: Object,
  9. default: function () {
  10. return {};
  11. }
  12. }
  13. },
  14. data: function () {
  15. return {};
  16. },
  17. methods: {},
  18. template: html
  19. };
  20. });