-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
7,668 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Node template | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# next.js build output | ||
.next | ||
|
||
# nuxt.js build output | ||
.nuxt | ||
|
||
# Nuxt generate | ||
dist | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless | ||
|
||
# IDE / Editor | ||
.idea | ||
|
||
# Service worker | ||
sw.* | ||
|
||
# Mac OSX | ||
.DS_Store | ||
|
||
# Vim swap files | ||
*.swp |
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,5 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"printWidth": 100 | ||
} |
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,22 @@ | ||
# nuxt | ||
|
||
> My fabulous Nuxt.js project | ||
## Build Setup | ||
|
||
``` bash | ||
# install dependencies | ||
$ yarn install | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ yarn dev | ||
|
||
# build for production and launch server | ||
$ yarn build | ||
$ yarn start | ||
|
||
# generate static project | ||
$ yarn 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 @@ | ||
# 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,48 @@ | ||
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: [], | ||
/* | ||
** Nuxt.js modules | ||
*/ | ||
modules: [], | ||
/* | ||
** Build configuration | ||
*/ | ||
build: { | ||
/* | ||
** You can extend webpack config here | ||
*/ | ||
extend(config, ctx) {}, | ||
}, | ||
}; |
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,21 @@ | ||
{ | ||
"name": "nuxt", | ||
"version": "1.0.0", | ||
"description": "My fabulous Nuxt.js project", | ||
"author": "Gomah", | ||
"private": true, | ||
"scripts": { | ||
"dev": "nuxt", | ||
"build": "nuxt build", | ||
"start": "nuxt start", | ||
"generate": "nuxt generate", | ||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ." | ||
}, | ||
"dependencies": { | ||
"nuxt": "^2.10.1", | ||
"vue-places": "../.." | ||
}, | ||
"devDependencies": { | ||
"prettier": "^1.18.2" | ||
} | ||
} |
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,6 @@ | ||
# PAGES | ||
|
||
This directory contains your Application Views and Routes. | ||
The framework reads all the `*.vue` files inside this directory and creates the router of your application. | ||
|
||
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing). |
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,71 @@ | ||
<template> | ||
<div class="container"> | ||
<div> | ||
<h1 class="title"> | ||
nuxt | ||
</h1> | ||
|
||
<h2 class="subtitle"> | ||
My fabulous Nuxt.js project | ||
</h2> | ||
|
||
<places /> | ||
|
||
<div class="links"> | ||
<a href="https://nuxtjs.org/" target="_blank" class="button--green"> | ||
Documentation | ||
</a> | ||
<a | ||
href="https://github.com/nuxt/nuxt.js" | ||
target="_blank" | ||
class="button--grey" | ||
> | ||
GitHub | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Places from 'vue-places'; | ||
export default { | ||
components: { | ||
Places, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
.container { | ||
margin: 0 auto; | ||
min-height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
} | ||
.title { | ||
font-family: 'Quicksand', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, | ||
'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; | ||
display: block; | ||
font-weight: 300; | ||
font-size: 100px; | ||
color: #35495e; | ||
letter-spacing: 1px; | ||
} | ||
.subtitle { | ||
font-weight: 300; | ||
font-size: 42px; | ||
color: #526488; | ||
word-spacing: 5px; | ||
padding-bottom: 15px; | ||
} | ||
.links { | ||
padding-top: 15px; | ||
} | ||
</style> |
Oops, something went wrong.