Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
w4-vux-template
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2019-01-10 10:51:22 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e546fcf5dcf0ae12c231caa9ea372d756dd3a74d
e546fcf5
1 parent
66b82dd7
fix
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
6 deletions
.eslintrc.js
package-lock.json
package.json
src/App.vue
.eslintrc.js
View file @
e546fcf
...
...
@@ -2,7 +2,9 @@ module.exports = {
root
:
true
,
env
:
{
node
:
true
,
browser
:
true
browser
:
true
,
commonjs
:
true
,
es6
:
true
},
globals
:
{
$
:
true
,
...
...
@@ -10,8 +12,12 @@ module.exports = {
moment
:
true
,
_
:
true
},
extends
:
'standard'
,
'rules'
:
{
extends
:
[
'plugin:vue/essential'
,
'@vue/standard'
],
// extends: 'standard',
rules
:
{
// allow paren-less arrow functions
'arrow-parens'
:
0
,
// allow async-await
...
...
@@ -23,7 +29,7 @@ module.exports = {
// allow semi
'semi'
:
0
,
// allow indent
'indent'
:
[
"error"
,
2
],
'indent'
:
[
'error'
,
2
],
// 'indent': 0,
// allow no-tabs
'no-tabs'
:
0
,
...
...
@@ -31,7 +37,13 @@ module.exports = {
'camelcase'
:
0
,
'eqeqeq'
:
0
,
'no-undef'
:
0
,
'no-console'
:
[
"error"
,
{
allow
:
[
"warn"
,
"error"
]
}]
'no-console'
:
[
'error'
,
{
allow
:
[
'warn'
,
'error'
]
}]
},
parserOptions
:
{
parser
:
'babel-eslint'
},
plugins
:
[
'html'
,
'vue'
],
settings
:
{
'html/html-extensions'
:
[
'.html'
]
}
};
...
...
package-lock.json
View file @
e546fcf
...
...
@@ -4846,6 +4846,51 @@
}
}
},
"eslint-plugin-html"
:
{
"version"
:
"5.0.0"
,
"resolved"
:
"http://registry.npm.taobao.org/eslint-plugin-html/download/eslint-plugin-html-5.0.0.tgz"
,
"integrity"
:
"sha1-OW4wpg3t7gEi/gjxHRPFqyLyDTI="
,
"dev"
:
true
,
"requires"
:
{
"htmlparser2"
:
"^3.10.0"
},
"dependencies"
:
{
"domhandler"
:
{
"version"
:
"2.4.2"
,
"resolved"
:
"http://registry.npm.taobao.org/domhandler/download/domhandler-2.4.2.tgz"
,
"integrity"
:
"sha1-iAUJfpM9ZehVRvcm1g9euItE+AM="
,
"dev"
:
true
,
"requires"
:
{
"domelementtype"
:
"1"
}
},
"htmlparser2"
:
{
"version"
:
"3.10.0"
,
"resolved"
:
"http://registry.npm.taobao.org/htmlparser2/download/htmlparser2-3.10.0.tgz"
,
"integrity"
:
"sha1-X15CLc9hGcDZg+02Jgzp3tC+5GQ="
,
"dev"
:
true
,
"requires"
:
{
"domelementtype"
:
"^1.3.0"
,
"domhandler"
:
"^2.3.0"
,
"domutils"
:
"^1.5.1"
,
"entities"
:
"^1.1.1"
,
"inherits"
:
"^2.0.1"
,
"readable-stream"
:
"^3.0.6"
}
},
"readable-stream"
:
{
"version"
:
"3.1.1"
,
"resolved"
:
"http://registry.npm.taobao.org/readable-stream/download/readable-stream-3.1.1.tgz"
,
"integrity"
:
"sha1-7Wu8bFuliwkAOf8YzmcFFXla6wY="
,
"dev"
:
true
,
"requires"
:
{
"inherits"
:
"^2.0.3"
,
"string_decoder"
:
"^1.1.1"
,
"util-deprecate"
:
"^1.0.1"
}
}
}
},
"eslint-plugin-import"
:
{
"version"
:
"2.14.0"
,
"resolved"
:
"http://registry.npm.taobao.org/eslint-plugin-import/download/eslint-plugin-import-2.14.0.tgz"
,
...
...
package.json
View file @
e546fcf
...
...
@@ -30,6 +30,7 @@
"@vue/eslint-config-standard"
:
"^4.0.0"
,
"babel-eslint"
:
"^10.0.1"
,
"eslint"
:
"^5.8.0"
,
"eslint-plugin-html"
:
"^5.0.0"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"less"
:
"^3.0.4"
,
"less-loader"
:
"^4.1.0"
,
...
...
src/App.vue
View file @
e546fcf
...
...
@@ -4,7 +4,6 @@
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
<router-view/>
</div>
</template>
...
...
Please
register
or
login
to post a comment