Skip to content

Commit 6afe10c

Browse files
committed
init
0 parents  commit 6afe10c

30 files changed

+10809
-0
lines changed

.eslintrc.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
node: true
6+
},
7+
parserOptions: {
8+
parser: 'babel-eslint'
9+
},
10+
extends: [
11+
'@nuxtjs',
12+
'prettier',
13+
'prettier/vue',
14+
'plugin:prettier/recommended',
15+
'plugin:nuxt/recommended'
16+
],
17+
plugins: [
18+
'prettier'
19+
],
20+
// add your custom rules here
21+
rules: {
22+
}
23+
}

.gitignore

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Node template
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# TypeScript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
# parcel-bundler cache (https://parceljs.org/)
63+
.cache
64+
65+
# next.js build output
66+
.next
67+
68+
# nuxt.js build output
69+
.nuxt
70+
71+
# Nuxt generate
72+
dist
73+
74+
# vuepress build output
75+
.vuepress/dist
76+
77+
# Serverless directories
78+
.serverless
79+
80+
# IDE / Editor
81+
.idea
82+
.editorconfig
83+
84+
# Service worker
85+
sw.*
86+
87+
# Mac OSX
88+
.DS_Store
89+
90+
# Vim swap files
91+
*.swp

.nowignore

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Node template
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# TypeScript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
# parcel-bundler cache (https://parceljs.org/)
63+
.cache
64+
65+
# next.js build output
66+
.next
67+
68+
# nuxt.js build output
69+
.nuxt
70+
71+
# Nuxt generate
72+
dist
73+
74+
# vuepress build output
75+
.vuepress/dist
76+
77+
# Serverless directories
78+
.serverless
79+
80+
# IDE / Editor
81+
.idea
82+
.editorconfig
83+
84+
# Service worker
85+
sw.*
86+
87+
# Mac OSX
88+
.DS_Store
89+
90+
# Vim swap files
91+
*.swp

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"arrowParens": "always",
4+
"singleQuote": true
5+
}

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# nuxtjs-minimal-blog
2+
3+
> Minimal blog Nuxt JS + Wordpress API
4+
5+
## Build Setup
6+
7+
``` bash
8+
# install dependencies
9+
$ yarn install
10+
11+
# serve with hot reload at localhost:3000
12+
$ yarn dev
13+
14+
# build for production and launch server
15+
$ yarn build
16+
$ yarn start
17+
18+
# generate static project
19+
$ yarn generate
20+
```
21+
22+
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).

assets/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ASSETS
2+
3+
**This directory is not required, you can delete it if you don't want to use it.**
4+
5+
This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
6+
7+
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked).

assets/main.scss

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
2+
*,
3+
*:before,
4+
*:after {
5+
box-sizing: border-box;
6+
outline: none;
7+
}
8+
9+
html {
10+
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI',
11+
Roboto, 'Helvetica Neue', Arial, sans-serif;
12+
font-size: 16px;
13+
word-spacing: 1px;
14+
-ms-text-size-adjust: 100%;
15+
-webkit-text-size-adjust: 100%;
16+
-moz-osx-font-smoothing: grayscale;
17+
-webkit-font-smoothing: antialiased;
18+
box-sizing: border-box;
19+
}
20+
21+
body {
22+
margin: 0;
23+
padding: 0;
24+
overflow-x: hidden;
25+
background: #f2f3f5;
26+
}
27+
28+
#app {
29+
font-family: 'Avenir', Helvetica, Arial, sans-serif;
30+
-webkit-font-smoothing: antialiased;
31+
-moz-osx-font-smoothing: grayscale;
32+
color: black;
33+
font-size: 16px;
34+
line-height: 1.6;
35+
}
36+
37+
#main {
38+
min-height: calc(100vh - 275px);
39+
margin-top: 60px;
40+
margin-bottom: 40px;
41+
background: white;
42+
padding-top: 20px;
43+
padding-bottom: 20px;
44+
position: relative;
45+
}
46+
47+
h1,
48+
h2,
49+
h3,
50+
h4,
51+
h5 {
52+
margin: 0;
53+
}
54+
55+
.container {
56+
padding-right: 15px;
57+
padding-left: 15px;
58+
margin-right: auto;
59+
margin-left: auto;
60+
max-width: 768px;
61+
width: 100%;
62+
}
63+
64+
code {
65+
padding: 2px 4px;
66+
font-size: 90%;
67+
color: #c7254e;
68+
background-color: #f9f2f4;
69+
border-radius: 4px;
70+
word-break: break-word;
71+
72+
.good & {
73+
color: green;
74+
}
75+
}
76+
77+
img {
78+
max-width: 100%;
79+
height: auto;
80+
display: block;
81+
margin-left: auto;
82+
margin-right: auto;
83+
}
84+
85+
figure,
86+
.wp-caption {
87+
max-width: 100%;
88+
margin: 1em 0;
89+
clear: both;
90+
display: block;
91+
margin-left: auto;
92+
margin-right: auto;
93+
}
94+
95+
.wp-caption {
96+
.wp-caption-text {
97+
margin: 0.8075em 0;
98+
text-align: center;
99+
}
100+
}
101+
102+
.page-enter-active,
103+
.page-leave-active {
104+
transition: opacity .4s
105+
}
106+
107+
.page-enter,
108+
.page-leave-active {
109+
opacity: 0
110+
}
111+
112+
.layout-enter-active, .layout-leave-active {
113+
transition: opacity .5s
114+
}
115+
116+
.layout-enter, .layout-leave-active {
117+
opacity: 0
118+
}
119+
120+
.slide-left-enter,
121+
.slide-right-leave-active {
122+
opacity: 0;
123+
transform: translate(30px, 0);
124+
transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
125+
}
126+
127+
.slide-left-leave-active,
128+
.slide-right-enter {
129+
opacity: 0;
130+
transform: translate(-30px, 0);
131+
transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
132+
}
133+
134+
135+
.slide-fade-enter-active {
136+
transition: all .3s ease;
137+
}
138+
139+
.slide-fade-leave-active {
140+
transition: all .5s cubic-bezier(1.0, 0.5, 0.8, 1.0);
141+
}
142+
143+
.slide-fade-enter, .slide-fade-leave-to {
144+
transform: translateX(10px);
145+
opacity: 0;
146+
}

0 commit comments

Comments
 (0)