N: Thomas Claveirole <thomas.claveirole@green-communications.fr>
F: package/fcgiwrap/
F: package/openlayers/
+F: package/vuejs-router/
N: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
F: docs/manual/
source "package/openlayers/Config.in"
source "package/popperjs/Config.in"
source "package/vuejs/Config.in"
+if BR2_PACKAGE_VUEJS
+comment "External Vue.js plugins"
+ source "package/vuejs-router/Config.in"
+endif
endmenu
menu "JSON/XML"
--- /dev/null
+################################################################################
+#
+# vuejs-router
+#
+################################################################################
+
+VUEJS_ROUTER_VERSION = 4.0.10
+VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz
+VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/-
+VUEJS_ROUTER_LICENSE = MIT
+VUEJS_ROUTER_LICENSE_FILES = LICENSE
+
+# Install .prod.js as .js
+define VUEJS_ROUTER_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/dist/vue-router.global.prod.js \
+ $(TARGET_DIR)/var/www/vue-router.js
+endef
+
+$(eval $(generic-package))