Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 608 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 608 Bytes

systemjs-vue-browser

SystemJS plugin to load .vue single file components

/* global System */

System.config({
  transpiler: "plugin-babel",
  paths: {
    "npm:": "https://unpkg.com/"
  },
  map: {
    vue: "npm:[email protected]/dist/vue.esm.browser.js",
    
    "vue-loader": "npm:[email protected]/index.js",

    "plugin-babel": "npm:systemjs-plugin-babel@0/plugin-babel.js",
    "systemjs-babel-build":
      "npm:systemjs-plugin-babel@0/systemjs-babel-browser.js"
  },
  meta: {
    "*.vue": { loader: "vue-loader" }
  }
});

Codesandbox example