Socket
Socket
Sign inDemoInstall

grunt-vueify

Package Overview
Dependencies
107
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    grunt-vueify

Translate `.vue` files to pure JavaScript, without using Browserify.


Version published
Maintainers
2
Created

Readme

Source

grunt-vueify

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.

Installation

npm install --save-dev vueify grunt-vueify

Usage

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']);

Options

  • files - Standard Grunt configuration for files; see the Grunt documentation for more information.

Configuring Vueify

To configure Vueify, you should create a vue.config.js file, as described in the Vuefiy documentation.

Keywords

FAQs

Last updated on 07 Dec 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc