build(app): deploy to production

This commit is contained in:
Julien 2018-09-11 16:21:25 +02:00
parent 501a19adad
commit d0eb50839c
14 changed files with 37 additions and 46 deletions

View File

@ -5,17 +5,15 @@ module.exports = {
node: true
},
parserOptions: {
parser: 'babel-eslint'
parser: "babel-eslint"
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
'plugin:vue/essential'
"plugin:vue/essential"
],
// required to lint *.vue files
plugins: [
'vue'
],
plugins: ["vue"],
// add your custom rules here
rules: {}
}
};

View File

@ -1,10 +1,10 @@
# awesome-cheatsheets
# Awesome Cheatsheets
> Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
## Build Setup
``` bash
```bash
# install dependencies
$ npm install # Or yarn install
@ -20,4 +20,3 @@ $ npm run generate
```
For detailed explanation on how things work, checkout the [Nuxt.js docs](https://github.com/nuxt/nuxt.js).

View File

@ -58,7 +58,7 @@ export default {
baseUrl: process.env.baseUrl,
// --> COMPONENTS <--
networks: ["Facebook", "Telegram", "Twitter", "LinkedIn"]
networks: ["Facebook", "Twitter", "LinkedIn", "Telegram"]
};
},

View File

@ -103,9 +103,9 @@ $c: ".c-the-github-buttons";
#{$c} {
display: flex;
justify-content: center;
margin-bottom: 0;
#{$c}__wrapper {
margin-bottom: 0;
width: initial;
}
}

View File

@ -3,7 +3,7 @@
************************************************************************* -->
<template lang="pug">
<a href="https://github.com/LeCoupa/awesome-cheatsheets" class="github-corner" aria-label="View source on Github">
<a :href="link" class="github-corner" aria-label="View source on Github">
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#1b2431; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
@ -17,7 +17,12 @@
************************************************************************* -->
<script>
export default {};
export default {
props: {
type: String,
required: true
}
};
</script>
<!-- *************************************************************************

4
dist/200.html vendored
View File

@ -1,9 +1,9 @@
<!DOCTYPE html>
<html data-n-head="">
<head>
<meta data-n-head="true" charset="utf-8"/><meta data-n-head="true" name="viewport" content="width=device-width, initial-scale=1"/><meta data-n-head="true" data-hid="description" name="description" content="Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file."/><title data-n-head="true">Awesome Cheatsheets</title><link data-n-head="true" rel="icon" type="image/x-icon" href="/favicon.ico"/><link rel="preload" href="/_nuxt/manifest.1e6731a8fd26d3c84369.js" as="script" /><link rel="preload" href="/_nuxt/vendor.8c8c4b8e213271f210af.js" as="script" /><link rel="preload" href="/_nuxt/app.68ccdf12596f6d7555af.js" as="script" /><link rel="prefetch" href="/_nuxt/layouts/default.df65f5a6d2c0060e08b2.js" /><link rel="prefetch" href="/_nuxt/pages/index.430801ae0cde961916c3.js" />
<meta data-n-head="true" charset="utf-8"/><meta data-n-head="true" name="viewport" content="width=device-width, initial-scale=1"/><meta data-n-head="true" data-hid="description" name="description" content="Designed for the ones who enjoy dark interfaces as much as we do. Using the best UX practices for great conversion rates."/><title data-n-head="true">Awesome Cheatsheets</title><link data-n-head="true" rel="icon" type="image/x-icon" href="/favicon.ico"/><link rel="preload" href="/_nuxt/manifest.622c33ff7c181da58c35.js" as="script" /><link rel="preload" href="/_nuxt/vendor.8c8c4b8e213271f210af.js" as="script" /><link rel="preload" href="/_nuxt/app.9338c9d20b7af582d983.js" as="script" /><link rel="prefetch" href="/_nuxt/layouts/default.b8cda655fb4b21d5863e.js" /><link rel="prefetch" href="/_nuxt/pages/index.6772170b5de76664c501.js" />
</head>
<body data-n-head="">
<div id="__nuxt"><style>body, html, #__nuxt { background-color: white; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; margin: 0; padding: 0;}.spinner { width: 40px; height: 40px; margin: 100px auto; background-color: #dbe1ec; border-radius: 100%; -webkit-animation: sk-scaleout 1.0s infinite ease-in-out; animation: sk-scaleout 1.0s infinite ease-in-out;}@-webkit-keyframes sk-scaleout { 0% { -webkit-transform: scale(0) } 100% { -webkit-transform: scale(1.0); opacity: 0; }}@keyframes sk-scaleout { 0% { -webkit-transform: scale(0); transform: scale(0); } 100% { -webkit-transform: scale(1.0); transform: scale(1.0); opacity: 0; }}</style><div class="spinner"> <div class="double-bounce1"></div> <div class="double-bounce2"></div></div><!-- http://tobiasahlin.com/spinkit --></div>
<script type="text/javascript" src="/_nuxt/manifest.1e6731a8fd26d3c84369.js"></script><script type="text/javascript" src="/_nuxt/vendor.8c8c4b8e213271f210af.js"></script><script type="text/javascript" src="/_nuxt/app.68ccdf12596f6d7555af.js"></script></body>
<script type="text/javascript" src="/_nuxt/manifest.622c33ff7c181da58c35.js"></script><script type="text/javascript" src="/_nuxt/vendor.8c8c4b8e213271f210af.js"></script><script type="text/javascript" src="/_nuxt/app.9338c9d20b7af582d983.js"></script></body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,a,c){for(var u,i,f,l=0,s=[];l<r.length;l++)i=r[l],t[i]&&s.push(t[i][0]),t[i]=0;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(e[u]=a[u]);for(n&&n(r,a,c);s.length;)s.shift()();if(c)for(l=0;l<c.length;l++)f=o(o.s=c[l]);return f};var r={},t={4:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+""+({0:"layouts/default",1:"pages/index"}[e]||e)+"."+{0:"df65f5a6d2c0060e08b2",1:"430801ae0cde961916c3"}[e]+".js";var u=setTimeout(i,12e4);function i(){c.onerror=c.onload=null,clearTimeout(u);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return c.onerror=c.onload=i,a.appendChild(c),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/_nuxt/",o.oe=function(e){throw console.error(e),e}}([]);

File diff suppressed because one or more lines are too long

6
dist/index.html vendored

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,7 @@
.l-default__inner
the-github-corner(
class="l-default__github-corner"
link="https://github.com/LeCoupa/awesome-cheatsheets"
)
nuxt
@ -58,6 +59,21 @@ html {
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
#{$c} {
margin: 0 40px;
#{$c}__inner {
margin: 0 auto;
max-width: 1140px;
#{$c}__copyright {
position: fixed;
right: 0;
bottom: 0;
}
}
}
}
a {
@ -99,20 +115,5 @@ a {
font-family: "Heebo Black";
src: url("/fonts/heebo/Heebo-Black.otf");
}
#{$c} {
margin: 0 40px;
#{$c}__inner {
margin: 0 auto;
max-width: 1140px;
#{$c}__copyright {
position: fixed;
right: 0;
bottom: 0;
}
}
}
</style>

View File

@ -8,7 +8,7 @@ module.exports = {
hid: "description",
name: "description",
content:
"Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file."
"Designed for the ones who enjoy dark interfaces as much as we do. Using the best UX practices for great conversion rates."
}
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }]

View File

@ -1,8 +0,0 @@
# 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