Skip to content

Commit

Permalink
feat(version): update nuxt 1.4.0 to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqiang521 committed Apr 20, 2019
1 parent 83dc925 commit 9c6e488
Show file tree
Hide file tree
Showing 44 changed files with 10,842 additions and 1,266 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
root = true

[*]
indent_size = 2
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand Down
18 changes: 12 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ module.exports = {
parserOptions: {
parser: 'babel-eslint'
},
extends: 'standard',
// 校验 .vue 文件
extends: [
'@nuxtjs',
'plugin:nuxt/recommended',
'plugin:prettier/recommended',
'prettier',
'prettier/vue'
],
plugins: [
'html'
'prettier'
],
// 自定义规则
// add your custom rules here
rules: {
"prettier/prettier": "off",
"no-console": 0,
"no-return-await": 0
},
globals: {}
}
}
83 changes: 78 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,84 @@
# dependencies
node_modules
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# logs
npm-debug.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Nuxt build
# 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
.idea

# Service worker
sw.*
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 9c6e488

Please sign in to comment.