Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sample
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周韬
node-sample
Commits
bc6762bc
Commit
bc6762bc
authored
Oct 31, 2016
by
Evan You
Committed by
GitHub
Oct 31, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #55 from limonte/fix/js-conding-standard
Fix conding style errors (unused vars, quotes)
parents
4b5dc459
6d7366f5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
webpack.base.config.js
build/webpack.base.config.js
+0
-1
webpack.client.config.js
build/webpack.client.config.js
+2
-2
index.js
src/store/index.js
+1
-1
No files found.
build/webpack.base.config.js
View file @
bc6762bc
const
path
=
require
(
'path'
)
const
path
=
require
(
'path'
)
const
webpack
=
require
(
'webpack'
)
const
vueConfig
=
require
(
'./vue-loader.config'
)
const
vueConfig
=
require
(
'./vue-loader.config'
)
module
.
exports
=
{
module
.
exports
=
{
...
...
build/webpack.client.config.js
View file @
bc6762bc
...
@@ -26,8 +26,8 @@ if (process.env.NODE_ENV === 'production') {
...
@@ -26,8 +26,8 @@ if (process.env.NODE_ENV === 'production') {
// so they are extracted.
// so they are extracted.
vueConfig
.
loaders
=
{
vueConfig
.
loaders
=
{
stylus
:
ExtractTextPlugin
.
extract
({
stylus
:
ExtractTextPlugin
.
extract
({
loader
:
"css-loader!stylus-loader"
,
loader
:
'css-loader!stylus-loader'
,
fallbackLoader
:
"vue-style-loader"
// <- this is a dep of vue-loader
fallbackLoader
:
'vue-style-loader'
// <- this is a dep of vue-loader
})
})
}
}
...
...
src/store/index.js
View file @
bc6762bc
import
Vue
from
'vue'
import
Vue
from
'vue'
import
Vuex
from
'vuex'
import
Vuex
from
'vuex'
import
{
fetchItem
,
fetchItem
s
,
fetchIdsByType
,
fetchUser
}
from
'./api'
import
{
fetchItems
,
fetchIdsByType
,
fetchUser
}
from
'./api'
Vue
.
use
(
Vuex
)
Vue
.
use
(
Vuex
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment