index.js 301 B

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