From 4db0d69fad5f2f5a70d192e6ab5036960064f530 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Fri, 13 Sep 2019 00:07:22 +0200 Subject: [PATCH] Add styleguide/ as submodule This should make new contributors aware that the Styleguide exists and maybe maybe even encourage people to contribute to the Styleguide. Also this enabled `yarn run dev:styleguide` to build the `webapp/` along with the styleguide. --- .gitmodules | 3 +++ styleguide | 1 + webapp/nuxt.config.js | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 styleguide diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..24249a28e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "styleguide"] + path = styleguide + url = https://github.com/Human-Connection/Nitro-Styleguide.git diff --git a/styleguide b/styleguide new file mode 160000 index 000000000..808b3c5a9 --- /dev/null +++ b/styleguide @@ -0,0 +1 @@ +Subproject commit 808b3c5a9523505cb80b20b50348d29ba9932845 diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index cb7b64a82..858294f37 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -3,7 +3,7 @@ const pkg = require('./package') export const envWhitelist = ['NODE_ENV', 'MAPBOX_TOKEN'] const dev = process.env.NODE_ENV !== 'production' -const styleguidePath = '../Nitro-Styleguide' +const styleguidePath = '../styleguide' const styleguideStyles = process.env.STYLEGUIDE_DEV ? [ `${styleguidePath}/src/system/styles/main.scss`,