A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SkewedAspect/grunt-vueify below:

SkewedAspect/grunt-vueify: 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']);

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4