vue sfc loader for browser
- [TODO] Able to handle component importing other components.
- [TODO] Able to detect circular dependency.
- Support CSS preprocessor SSSA.
- [TODO] Support scoped css.
npm install
npm run start
import sfcLoader from 'vue-sfc-loader';
sfcLoader
.load('./exmaple.vue')
.then(Example => {
new Vue({
render: h => h(Example);
});
});
MIT © BinRui Guan