Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-vueify

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-vueify

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

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
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

Package last updated on 07 Dec 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc