diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c5abf3d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/auth-frontend-shared"] + path = vendor/auth-frontend-shared + url = git@github.com:authenticus/auth-frontend-shared.git diff --git a/nuxt.config.js b/nuxt.config.js index cb3b609..36ab48b 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,3 +1,5 @@ +import { resolve } from "path"; + export default { mode: "universal", /* @@ -48,6 +50,11 @@ export default { /* ** You can extend webpack config here */ - extend(config, ctx) {} + extend(config, ctx) { + config.resolve.alias["~shared"] = resolve( + __dirname, + "vendor/auth-frontend-shared" + ); + } } }; diff --git a/vendor/auth-frontend-shared b/vendor/auth-frontend-shared new file mode 160000 index 0000000..7327d1d --- /dev/null +++ b/vendor/auth-frontend-shared @@ -0,0 +1 @@ +Subproject commit 7327d1de3e384fae7beae29dc0dd0d0c1b406c54