2017 © Pedro Peláez
 

library vue-asset

Vue.js asset bundle for Craft CMS

image

craftcms/vue-asset

Vue.js asset bundle for Craft CMS

  • Wednesday, August 9, 2017
  • by brandonkelly
  • Repository
  • 2 Watchers
  • 21 Stars
  • 8,826 Installations
  • JavaScript
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 152 % Grown

The README.md

⛔️ This package has been deprecated. \ Craft plugins should register the craft\web\assets\vue\VueAsset asset bundle instead., (*1)


Vue.js Asset Bundle for Craft CMS

This package provides an asset bundle that registers Vue.js., (*2)

You can require it on a Craft project or plugin via Composer:, (*3)

composer require craftcms/vue-asset

The asset bundle class is craft\vue\Asset. It can be registered on a request like so:, (*4)

PHP

use craft\vue\Asset as VueAsset;

Craft::$app->view->registerAssetBundle(VueAsset::class);

Twig

{% do view.registerAssetBundle('craft\\vue\\Asset') %}

You can also make it a dependency of another asset bundle like so:, (*5)

<?php
namespace ns\prefix\assets;

use craft\vue\Asset as VueAsset;
use craft\web\AssetBundle;

class MyAsset extends AssetBundle
{
    public $depends = [
        VueAsset::class,
    ];

    // ...
}

The Versions

09/08 2017

dev-master

9999999-dev

Vue.js asset bundle for Craft CMS

  Sources   Download

MIT

The Requires

 

yii2 cms js vue craftcms

20/07 2017

1.0.2

1.0.2.0

Vue.js asset bundle for Craft CMS

  Sources   Download

MIT

The Requires

 

yii2 cms js vue craftcms

12/04 2017

1.0.1

1.0.1.0

Vue.js asset bundle for Craft CMS

  Sources   Download

MIT

The Requires

 

yii2 cms js vue craftcms

22/02 2017

1.0.0

1.0.0.0

Vue.js asset bundle for Craft CMS

  Sources   Download

MIT

The Requires

  • cracraftcms/cms ~3.0.0-beta.1
  • npm-asset/vue ~2.1.10

 

yii2 cms js vue craftcms