Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
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
lhfe
mould-vuecli3
Commits
b6414844
Commit
b6414844
authored
Aug 26, 2020
by
yimj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交转换宝的结构
parent
8bf1db9c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
.eslintrc.js
.eslintrc.js
+2
-1
index.js
src/router/index.js
+3
-3
videoConverter.vue
src/views/videoConverter.vue
+3
-3
No files found.
.eslintrc.js
View file @
b6414844
...
...
@@ -33,7 +33,8 @@ module.exports = {
SwitchCase
:
1
// 针对switch case的缩进
}
],
'linebreak-style'
:
[
'warn'
,
'unix'
],
//'linebreak-style': ['warn', 'unix'],
'linebreak-style'
:
[
0
,
'error'
,
'windows'
],
'no-irregular-whitespace'
:
[
1
,
{
skipComments
:
true
,
skipTemplates
:
true
,
skipRegExps
:
true
}
...
...
src/router/index.js
View file @
b6414844
...
...
@@ -24,9 +24,9 @@ const routes = [
component
:
()
=>
import
(
/* webpackChunkName: "bao1" */
'../views/videoCutter.vue'
)
},
{
path
:
'/
bao2
'
,
name
:
'
Bao2
'
,
component
:
()
=>
import
(
/* webpackChunkName: "bao2" */
'../views/
bao2
.vue'
)
path
:
'/
videoConverter
'
,
name
:
'
VideoConverter
'
,
component
:
()
=>
import
(
/* webpackChunkName: "bao2" */
'../views/
videoConverter
.vue'
)
}
]
...
...
src/views/videoConverter
Baby
.vue
→
src/views/videoConverter.vue
View file @
b6414844
<
template
>
<div
class=
"videoConverter
Baby"
>
</div>
<div
class=
"videoConverter
"
>
转换baby
</div>
</
template
>
<
script
>
export
default
{
name
:
'VideoConverter
Baby
'
,
name
:
'VideoConverter'
,
components
:
{},
props
:
{},
data
()
{
...
...
@@ -17,7 +17,7 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
.videoConverter
Baby
{
.videoConverter
{
width
:
100%
;
height
:
100%
;
background-color
:
#fff
;
...
...
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