
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
systemjs-vue-loader
Advanced tools
This package gives you the ability to use .vue files in your SystemJS projects. At the moment, there is support for:
DO NOT use this package in production environment because it's not fully tested and may not work with your SystemJS version. I have only tested this on version 0.21 of SystemJS.
npm install systemjs-vue-loader
...or just provide a path to an NPM CDN unpkg and map it (example below).
System.config({
...
meta: {
'*.vue': {
'loader': 'vue-loader'
},
},
...
map: {
'vue-loader': 'npm:systemjs-vue-loader@latest',
'vue-template-compiler': 'npm:vue-template-compiler@latest',
'vue-template-es2015-compiler': 'npm:vue-template-es2015-compiler@latest',
'sass.js': 'npm:sass.js@latest',
'less': 'npm:less@latest',
'acorn': 'npm:acorn@latest'
},
...
paths: {
'npm:': 'https://unpkg.com/'
},
...
packages: {
vue: {
main: 'dist/vue.common.prod.js'
},
'vue-template-es2015-compiler': {
main: 'index.js'
}
}
})
Depending on how you set up your SystemJS config, it may slightly differ. For example, you may have all the dependencies stored in node_modules so therefore, you may not need the paths in the config and your map may look something like this:
System.config({
...
map: {
'vue-loader': '/node_modules/systemjs-vue-loader',
'vue-template-compiler': '/node_modules/vue-template-compiler',
'vue-template-es2015-compiler': '/node_modules/vue-template-es2015-compiler',
'sass.js': '/node_modules/sass.js',
'less': '/node_modules/less',
'acorn': '/node_modules/acorn'
},
...
});
FAQs
Enables the use of .vue files in SystemJS projects
We found that systemjs-vue-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.