1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-09-28 21:19:02 +00:00

refactor(app): remove useless folders

This commit is contained in:
Julien 2018-09-09 17:26:24 +02:00
parent a8bb7b561e
commit 9bbfe7838a
8 changed files with 24 additions and 102 deletions

View File

@ -1,7 +0,0 @@
# COMPONENTS
The components directory contains your Vue.js Components.
Nuxt.js doesn't supercharge these components.
**This directory is not required, you can delete it if you don't want to use it.**

View File

@ -1,9 +0,0 @@
# LAYOUTS
This directory contains your Application Layouts.
More information about the usage of this directory in the documentation:
https://nuxtjs.org/guide/views#layouts
**This directory is not required, you can delete it if you don't want to use it.**

View File

@ -30,51 +30,19 @@ export default {
<style lang="scss">
html {
box-sizing: border-box;
background-color: #1b2431;
color: white;
text-align: center;
word-spacing: 1px;
font-size: 16px;
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;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
</style>

View File

@ -1,10 +0,0 @@
# MIDDLEWARE
This directory contains your Application Middleware.
The middleware lets you define custom function to be ran before rendering a page or a group of pages (layouts).
More information about the usage of this directory in the documentation:
https://nuxtjs.org/guide/routing#middleware
**This directory is not required, you can delete it if you don't want to use it.**

View File

@ -3,7 +3,10 @@
************************************************************************* -->
<template lang="pug">
.c-index
h2(
v-html="description"
)
</template>
<!-- *************************************************************************
@ -11,7 +14,16 @@
************************************************************************* -->
<script>
export default {};
export default {
data() {
return {
description: `
Awesome cheatsheets for popular programming languages, frameworks and development tools.<br/>
They include everything you should know in one single file. 🤓👌
`
};
}
};
</script>
<!-- *************************************************************************

View File

@ -1,9 +0,0 @@
# PLUGINS
This directory contains your Javascript plugins that you want to run before instantiating the root vue.js application.
More information about the usage of this directory in the documentation:
https://nuxtjs.org/guide/plugins
**This directory is not required, you can delete it if you don't want to use it.**

View File

@ -1,12 +0,0 @@
# STATIC
This directory contains your static files.
Each file inside this directory is mapped to /.
Example: /static/robots.txt is mapped as /robots.txt.
More information about the usage of this directory in the documentation:
https://nuxtjs.org/guide/assets#static
**This directory is not required, you can delete it if you don't want to use it.**

View File

@ -1,11 +0,0 @@
# STORE
This directory contains your Vuex Store files.
Vuex Store option is implemented in the Nuxt.js framework.
Creating a index.js file in this directory activate the option in the framework automatically.
More information about the usage of this directory in the documentation:
https://nuxtjs.org/guide/vuex-store
**This directory is not required, you can delete it if you don't want to use it.**