-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create nuxt project, GO server directory, GO gitignore
- Loading branch information
Showing
19 changed files
with
10,796 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# natricons | ||
Hash-based Avatar Generator | ||
|
||
> Hash-based avatar generator | ||
## Build Setup | ||
|
||
```bash | ||
# install dependencies | ||
$ npm install | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ npm run dev | ||
|
||
# build for production and launch server | ||
$ npm run build | ||
$ npm run start | ||
|
||
# generate static project | ||
$ npm run generate | ||
``` | ||
|
||
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# ASSETS | ||
|
||
**This directory is not required, you can delete it if you don't want to use it.** | ||
|
||
This directory contains your un-compiled assets such as LESS, SASS, or JavaScript. | ||
|
||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<template> | ||
<svg class="NuxtLogo" width="245" height="180" viewBox="0 0 452 342" xmlns="http://www.w3.org/2000/svg"> | ||
<g fill="none" fill-rule="evenodd"> | ||
<path | ||
d="M139 330l-1-2c-2-4-2-8-1-13H29L189 31l67 121 22-16-67-121c-1-2-9-14-22-14-6 0-15 2-22 15L5 303c-1 3-8 16-2 27 4 6 10 12 24 12h136c-14 0-21-6-24-12z" | ||
fill="#00C58E" | ||
/> | ||
<path | ||
d="M447 304L317 70c-2-2-9-15-22-15-6 0-15 3-22 15l-17 28v54l39-67 129 230h-49a23 23 0 0 1-2 14l-1 1c-6 11-21 12-23 12h76c3 0 17-1 24-12 3-5 5-14-2-26z" | ||
fill="#108775" | ||
/> | ||
<path | ||
d="M376 330v-1l1-2c1-4 2-8 1-12l-4-12-102-178-15-27h-1l-15 27-102 178-4 12a24 24 0 0 0 2 15c4 6 10 12 24 12h190c3 0 18-1 25-12zM256 152l93 163H163l93-163z" | ||
fill="#2F495E" | ||
fill-rule="nonzero" | ||
/> | ||
</g> | ||
</svg> | ||
</template> | ||
<style> | ||
.NuxtLogo { | ||
animation: 1s appear; | ||
margin: auto; | ||
} | ||
@keyframes appear { | ||
0% { | ||
opacity: 0; | ||
} | ||
100% { | ||
opacity: 1; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# COMPONENTS | ||
|
||
**This directory is not required, you can delete it if you don't want to use it.** | ||
|
||
The components directory contains your Vue.js Components. | ||
|
||
_Nuxt.js doesn't supercharge these components._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# LAYOUTS | ||
|
||
**This directory is not required, you can delete it if you don't want to use it.** | ||
|
||
This directory contains your Application Layouts. | ||
|
||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<template> | ||
<div> | ||
<nuxt /> | ||
</div> | ||
</template> | ||
|
||
<style> | ||
html { | ||
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', | ||
Roboto, 'Helvetica Neue', Arial, sans-serif; | ||
font-size: 16px; | ||
word-spacing: 1px; | ||
-ms-text-size-adjust: 100%; | ||
-webkit-text-size-adjust: 100%; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
box-sizing: border-box; | ||
} | ||
*, | ||
*:before, | ||
*:after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
} | ||
.button--green { | ||
display: inline-block; | ||
border-radius: 4px; | ||
border: 1px solid #3b8070; | ||
color: #3b8070; | ||
text-decoration: none; | ||
padding: 10px 30px; | ||
} | ||
.button--green:hover { | ||
color: #fff; | ||
background-color: #3b8070; | ||
} | ||
.button--grey { | ||
display: inline-block; | ||
border-radius: 4px; | ||
border: 1px solid #35495e; | ||
color: #35495e; | ||
text-decoration: none; | ||
padding: 10px 30px; | ||
margin-left: 15px; | ||
} | ||
.button--grey:hover { | ||
color: #fff; | ||
background-color: #35495e; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# MIDDLEWARE | ||
|
||
**This directory is not required, you can delete it if you don't want to use it.** | ||
|
||
This directory contains your application middleware. | ||
Middleware let you define custom functions that can be run before rendering either a page or a group of pages. | ||
|
||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing#middleware). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
export default { | ||
mode: 'universal', | ||
/* | ||
** Headers of the page | ||
*/ | ||
head: { | ||
title: process.env.npm_package_name || '', | ||
meta: [ | ||
{ charset: 'utf-8' }, | ||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }, | ||
{ hid: 'description', name: 'description', content: process.env.npm_package_description || '' } | ||
], | ||
link: [ | ||
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } | ||
] | ||
}, | ||
/* | ||
** Customize the progress-bar color | ||
*/ | ||
loading: { color: '#fff' }, | ||
/* | ||
** Global CSS | ||
*/ | ||
css: [ | ||
], | ||
/* | ||
** Plugins to load before mounting the App | ||
*/ | ||
plugins: [ | ||
], | ||
/* | ||
** Nuxt.js dev-modules | ||
*/ | ||
buildModules: [ | ||
// Doc: https://github.com/nuxt-community/nuxt-tailwindcss | ||
'@nuxtjs/tailwindcss', | ||
], | ||
/* | ||
** Nuxt.js modules | ||
*/ | ||
modules: [ | ||
"@nuxtjs/axios" | ||
], | ||
/* | ||
** Axios module configuration | ||
** See https://axios.nuxtjs.org/options | ||
*/ | ||
axios: {}, | ||
/* | ||
** Build configuration | ||
*/ | ||
build: { | ||
/* | ||
** You can extend webpack config here | ||
*/ | ||
extend (config, ctx) { | ||
} | ||
} | ||
} |
Oops, something went wrong.