File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/nav-buttons Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ export default {
251
251
}
252
252
else {
253
253
// Adds component name as class for all routes
254
- str += ` <div class = '${ componentName} '>\n ` ;
254
+ str += ` <div id = '${ componentName} '>\n ` ;
255
255
}
256
256
257
257
// Add import component string to routes template
@@ -409,7 +409,7 @@ export default {
409
409
return ` \n\n <script lang="ts">\n import { defineComponent } from "vue";\n ${ str} \n export default defineComponent ({\n name: '${ componentName} ',\n components: {\n ${ childrenComponentNames} }\n });\n <\/ script>` ;
410
410
}
411
411
str += " \n\n <script>" ;
412
- str += ` ${ childComponentImportNames} ` ;
412
+ str += ` \n ${ childComponentImportNames} ` ;
413
413
str += ` \n\n export default {`
414
414
str += ` \n components: {`
415
415
str += ` \n ${ childrenComponentNames} }\n };` ;
You can’t perform that action at this time.
0 commit comments