Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
grunt-vueify
Advanced tools
Translate `.vue` files to pure JavaScript, without using Browserify.
Translate .vue
files to pure JavaScript, without using Browserify.
This uses the Compiler API from Vueify, and is useful when using Vue.js with Electron.
npm install --save-dev vueify grunt-vueify
Add something like the following to your Gruntfile.js
:
grunt.initConfig({
vueify: {
components: {
files: [
{
expand: true,
src: 'components/**/*.vue',
dest: 'dist/',
ext: '.vue.js'
}
]
}
},
// ...
});
grunt.loadNpmTasks('grunt-vueify');
grunt.registerTask('default', ['vueify']);
files
- Standard Grunt configuration for files; see the Grunt documentation for more information.To configure Vueify, you should create a vue.config.js
file, as described in the Vuefiy documentation.
FAQs
Translate `.vue` files to pure JavaScript, without using Browserify.
We found that grunt-vueify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.