Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EUbOPEN Web
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChEMBL
EUbOPEN
EUbOPEN Web
Commits
cba84539
Commit
cba84539
authored
4 years ago
by
David Mendez
Browse files
Options
Downloads
Patches
Plain Diff
Add dotenv and set es proxy base url
parent
85459883
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
nuxt.config.js
+7
-0
7 additions, 0 deletions
nuxt.config.js
package-lock.json
+8
-0
8 additions, 0 deletions
package-lock.json
package.json
+1
-0
1 addition, 0 deletions
package.json
pages/index.vue
+7
-65
7 additions, 65 deletions
pages/index.vue
with
23 additions
and
65 deletions
nuxt.config.js
+
7
−
0
View file @
cba84539
import
colors
from
'
vuetify/es5/util/colors
'
require
(
'
dotenv
'
).
config
({
path
:
process
.
env
.
ENV_FILE_PATH
})
export
default
{
// Global page headers: https://go.nuxtjs.dev/config-head
...
...
@@ -16,6 +17,12 @@ export default {
link
:
[{
rel
:
'
icon
'
,
type
:
'
image/x-icon
'
,
href
:
'
/favicon.ico
'
}],
},
env
:
{
esProxyBaseUrl
:
process
.
env
.
ES_PROXY_BASE_URL
||
'
https://wwwdev.ebi.ac.uk/chembl/interface_api/es_proxy
'
,
},
// Global CSS: https://go.nuxtjs.dev/config-css
css
:
[],
...
...
This diff is collapsed.
Click to expand it.
package-lock.json
+
8
−
0
View file @
cba84539
...
...
@@ -15418,6 +15418,7 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
"integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
"optional": true,
"requires": {
"arr-flatten": "^1.1.0",
"array-unique": "^0.3.2",
...
...
@@ -15435,6 +15436,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
"optional": true,
"requires": {
"is-extendable": "^0.1.0"
}
...
...
@@ -15465,6 +15467,7 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
"integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
"optional": true,
"requires": {
"extend-shallow": "^2.0.1",
"is-number": "^3.0.0",
...
...
@@ -15476,6 +15479,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
"optional": true,
"requires": {
"is-extendable": "^0.1.0"
}
...
...
@@ -15526,6 +15530,7 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
"optional": true,
"requires": {
"kind-of": "^3.0.2"
},
...
...
@@ -15534,6 +15539,7 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"optional": true,
"requires": {
"is-buffer": "^1.1.5"
}
...
...
@@ -15544,6 +15550,7 @@
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
"integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
"optional": true,
"requires": {
"arr-diff": "^4.0.0",
"array-unique": "^0.3.2",
...
...
@@ -15599,6 +15606,7 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
"integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
"optional": true,
"requires": {
"is-number": "^3.0.0",
"repeat-string": "^1.6.1"
...
...
This diff is collapsed.
Click to expand it.
package.json
+
1
−
0
View file @
cba84539
...
...
@@ -14,6 +14,7 @@
"dependencies"
:
{
"
@nuxtjs/axios
"
:
"
^5.12.5
"
,
"
core-js
"
:
"
^3.8.3
"
,
"
dotenv
"
:
"
^8.2.0
"
,
"
nuxt
"
:
"
^2.14.12
"
},
"devDependencies"
:
{
...
...
This diff is collapsed.
Click to expand it.
pages/index.vue
+
7
−
65
View file @
cba84539
...
...
@@ -7,74 +7,11 @@
</div>
<v-card>
<v-card-title
class=
"headline"
>
Welcome to the Vuetify + Nuxt.js templa
te
This is the EUbOPEN websi
te
!
</v-card-title>
<v-card-text>
<p>
Vuetify is a progressive Material Design component framework for
Vue.js. It was designed to empower developers to create amazing
applications.
</p>
<p>
For more information on Vuetify, check out the
<a
href=
"https://vuetifyjs.com"
target=
"_blank"
rel=
"noopener noreferrer"
>
documentation
</a
>
.
</p>
<p>
If you have questions, please join the official
<a
href=
"https://chat.vuetifyjs.com/"
target=
"_blank"
rel=
"noopener noreferrer"
title=
"chat"
>
discord
</a
>
.
</p>
<p>
Find a bug? Report it on the github
<a
href=
"https://github.com/vuetifyjs/vuetify/issues"
target=
"_blank"
rel=
"noopener noreferrer"
title=
"contribute"
>
issue board
</a
>
.
</p>
<p>
Thank you for developing with Vuetify and I look forward to bringing
more exciting features in the future.
</p>
<div
class=
"text-xs-right"
>
<em><small>
—
John Leider
</small></em>
</div>
<hr
class=
"my-3"
/>
<a
href=
"https://nuxtjs.org/"
target=
"_blank"
rel=
"noopener noreferrer"
>
Nuxt Documentation
</a>
<br
/>
<a
href=
"https://github.com/nuxt/nuxt.js"
target=
"_blank"
rel=
"noopener noreferrer"
>
Nuxt GitHub
</a>
This is the ES Proxy base URL:
{{
esProxyBaseUrl
}}
</v-card-text>
<v-card-actions>
<v-spacer
/>
<v-btn
color=
"primary"
nuxt
to=
"/inspire"
>
Continue
</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>
...
...
@@ -89,5 +26,10 @@ export default {
Logo
,
VuetifyLogo
,
},
computed
:
{
esProxyBaseUrl
()
{
return
process
.
env
.
esProxyBaseUrl
},
},
}
</
script
>
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment