Commit 80a8b6a3 authored by liyan's avatar liyan
Browse files

init

parents
Loading
Loading
Loading
Loading

.editorconfig

0 → 100644
+5 −0
Original line number Diff line number Diff line
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true

.eslintrc.js

0 → 100644
+16 −0
Original line number Diff line number Diff line
module.exports = {
  root: true,
  env: {
    node: true
  },
  'extends': [
    'plugin:vue/essential'
  ],
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
  },
  parserOptions: {
    parser: 'babel-eslint'
  }
}

.gitattributes

0 → 100644
+5 −0
Original line number Diff line number Diff line
*.js linguist-language=vue

*.css linguist-language=vue

*.html linguist-language=vue
 No newline at end of file

.gitignore

0 → 100644
+21 −0
Original line number Diff line number Diff line
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.postcssrc.js

0 → 100644
+19 −0
Original line number Diff line number Diff line
module.exports = {
  plugins: {
    'autoprefixer': {
        overrideBrowserslist: [
          "Android 4.1",
          "iOS 7.1",
          "Chrome > 31",
          "ff > 31",
          "ie >= 8"
          //'last 10 versions', // 所有主流浏览器最近10版本用
        ],
        grid: true
      },
    'postcss-pxtorem': {
      rootValue: 37.5, //vant-UI的官方根字体大小是37.5
      propList: ['*']
    }
  }
}
Loading