Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
muhibbudins committed Sep 4, 2018
1 parent c080357 commit 8321d23
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ module.exports = {
helpers: {
escape: function(value) {
return value.replace(/'/g, ''');
},
slugify: function(string) {
return string.toLowerCase().replace(/ /g, '-')
}
},
prompts: {
Expand Down
2 changes: 1 addition & 1 deletion template/app/admin/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>
<div>Response from <b>/api</b>:</div>
<div v-html="message"></div>
<div>{{ state.message }}</div>
<div v-html="state.message"></div>
<br>
<a href="http://localhost:3050" class="el-button el-button--primary">Blog Page</a>
<a href="https://github.com/muhibbudins/nuxt-multiple" target="_blank" rel="noopener" class="el-button">Github</a>
Expand Down
2 changes: 1 addition & 1 deletion template/app/blog/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>
<div>Response from <b>/api</b>:</div>
<div v-html="message"></div>
<div>{{ state.message }}</div>
<div v-html="state.message"></div>
<br>
<a href="http://localhost:3060" class="el-button el-button--primary">Admin Page</a>
<a href="https://github.com/muhibbudins/nuxt-multiple" target="_blank" rel="noopener" class="el-button">Github</a>
Expand Down
2 changes: 1 addition & 1 deletion template/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
** Headers of the page
*/
head: {
title: '{{ slugify name }}',
title: '{{ name }}',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
Expand Down
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "{{ slugify name }}",
"name": "{{ name }}",
"version": "1.0.0",
"description": "{{ description }}",
"author": "{{ author }}",
Expand Down

0 comments on commit 8321d23

Please sign in to comment.