Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 571 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 571 Bytes

vue-sfc-loader

vue sfc loader for browser

Features

  • [TODO] Able to handle component importing other components.
  • [TODO] Able to detect circular dependency.
  • Support CSS preprocessor SSSA.
  • [TODO] Support scoped css.

Run the Demo

npm install
npm run start

Usage

import sfcLoader from 'vue-sfc-loader';

sfcLoader
  .load('./exmaple.vue')
  .then(Example => {
    new Vue({
      render: h => h(Example);
    });
  });

License

MIT © BinRui Guan