Skip to content

differui/vue-sfc-loader

Repository files navigation

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

About

vue sfc loader for browser

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages