From c32f7307138e09f80dc9ae84892777bcced799eb Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Wed, 14 Apr 2021 18:24:33 +0200 Subject: [PATCH] add vuejs npm packages and configure webpack --- src/Bundle/ChillMainBundle/Resources/public/modules/vue/index.js | 1 + src/Bundle/ChillMainBundle/chill.webpack.config.js | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/Bundle/ChillMainBundle/Resources/public/modules/vue/index.js diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/vue/index.js b/src/Bundle/ChillMainBundle/Resources/public/modules/vue/index.js new file mode 100644 index 000000000..9448490d7 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/vue/index.js @@ -0,0 +1 @@ +import Vue from 'vue' diff --git a/src/Bundle/ChillMainBundle/chill.webpack.config.js b/src/Bundle/ChillMainBundle/chill.webpack.config.js index f3e2999ca..d8e796c33 100644 --- a/src/Bundle/ChillMainBundle/chill.webpack.config.js +++ b/src/Bundle/ChillMainBundle/chill.webpack.config.js @@ -58,6 +58,7 @@ module.exports = function(encore, entries) // Chill2 new assets encore.addEntry('forkawesome', __dirname + '/Resources/public/modules/forkawesome/index.js'); encore.addEntry('bootstrap', __dirname + '/Resources/public/modules/bootstrap/index.js'); + encore.addEntry('vuejs', __dirname + '/Resources/public/modules/vue/index.js'); // CKEditor5 buildCKEditor(encore);