Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix auto router generator case sensitive bug
- Loading branch information
Showing
4 changed files
with
98 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<div> | ||
<h2 class="gray--text">LAVAS</h2> | ||
<span>{{webpackDefineTestVar}}</span> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'testIndex', | ||
metaInfo: { | ||
title: 'Home', | ||
meta: [ | ||
{name: 'keywords', content: 'lavas PWA'} | ||
] | ||
}, | ||
async asyncData({store, route}) {}, | ||
data() { | ||
return { | ||
webpackDefineTestVar: DEFINE_TEST_VAR | ||
} | ||
} | ||
}; | ||
</script> | ||
|
||
<style lang="stylus" scoped> | ||
h2 | ||
margin-top 50% | ||
font-size 46px | ||
font-weight 500 | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
<div> | ||
Detail Page | ||
<router-view></router-view> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'test', | ||
metaInfo: { | ||
title: 'Detail Page', | ||
meta: [ | ||
{name: 'keywords', content: 'lavas PWA'} | ||
] | ||
}, | ||
async asyncData({store, route}) {} | ||
}; | ||
</script> | ||
|
||
<style lang="stylus" scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters