Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
2016-07-15 13:19:38 +0800
Commit
b10de60e2bcea30d12b58c58e76f819bff9fd297
1 parent
b3f6b7dd
postcss 插件调整
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
9 deletions
.eslintrc
package.json
public/gulpfile.js
public/img/channel/boys.png
public/img/sprite.channel.png
public/vue/channel/home.vue
.eslintrc
View file @
b10de60
{
"extends"
:
"yoho"
"extends"
:
"yoho"
,
"plugins"
:
[
"html"
]
}
...
...
package.json
View file @
b10de60
...
...
@@ -57,6 +57,7 @@
"css-loader"
:
"^0.23.1"
,
"eslint"
:
"^3.0.1"
,
"eslint-config-yoho"
:
"^1.0.1"
,
"eslint-plugin-html"
:
"^1.5.1"
,
"gulp"
:
"^3.9.1"
,
"gulp-cssnano"
:
"^2.1.2"
,
"gulp-ftp"
:
"^1.1.0"
,
...
...
public/gulpfile.js
View file @
b10de60
...
...
@@ -181,7 +181,10 @@ gulp.task('webpack-dev-server', () => {
debug
:
true
,
vue
:
{
postcss
:
postcssPlugin
(
env
.
dev
),
autoprefixer
:
false
autoprefixer
:
false
,
loaders
:
{
css
:
'vue-style-loader!css-loader?sourceMap&-url'
}
}
});
...
...
public/img/channel/boys.png
0 → 100644
View file @
b10de60
2 KB
public/img/sprite.channel.png
0 → 100644
View file @
b10de60
1.24 KB
public/vue/channel/home.vue
View file @
b10de60
<template>
<div class="test">
{{message}}
<div class="test2"></div>
</div>
<div class="test2">
{{message2}}
</div>
</template>
...
...
@@ -10,7 +11,8 @@
module.exports = {
data: function() {
return {
message: 'test'
message: 'test',
message2: 'test2'
}
}
}
...
...
@@ -19,10 +21,11 @@
<style>
.test {
color: green;
background: url("/channel/boys.png");
}
.test2 {
background: #000;
display: flex;
}
.test2 {
color: blue;
background: resolve("channel/boys.png");
}
</style>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment