From 238206c19ef298c970b90dc9764ee15fa813bcbe Mon Sep 17 00:00:00 2001 From: Stefan Judis Date: Sat, 21 Oct 2017 17:04:31 +0200 Subject: [PATCH] add support framework frames for Nuxt.js (#2980) (#4460) --- assets/images/Svg.js | 3 ++- assets/images/nuxtjs.svg | 1 + src/utils/frame.js | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 assets/images/nuxtjs.svg diff --git a/assets/images/Svg.js b/assets/images/Svg.js index a86e47d1a4..cdfd9625d1 100644 --- a/assets/images/Svg.js +++ b/assets/images/Svg.js @@ -55,7 +55,8 @@ const svg = { extjs: require("./sencha-extjs.svg"), marko: require("./marko.svg"), showSources: require("./showSources.svg"), - showOutline: require("./showOutline.svg") + showOutline: require("./showOutline.svg"), + nuxtjs: require("./nuxtjs.svg") }; type SvgType = { diff --git a/assets/images/nuxtjs.svg b/assets/images/nuxtjs.svg new file mode 100644 index 0000000000..64db28cc2e --- /dev/null +++ b/assets/images/nuxtjs.svg @@ -0,0 +1 @@ + diff --git a/src/utils/frame.js b/src/utils/frame.js index 04935ce014..eca6b9fdc1 100644 --- a/src/utils/frame.js +++ b/src/utils/frame.js @@ -94,6 +94,10 @@ const libraryMap = [ label: "Marko", pattern: /marko/i }, + { + label: "NuxtJS", + pattern: /[\._]nuxt/i + }, { label: "Aframe", pattern: /aframe/i