1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- ---
- extend: '@vue/cli-service/generator/template/src/App.vue'
- replace:
- - !!js/regexp /<template>[^]*?<\/template>/
- - !!js/regexp /\n<script>[^]*?<\/script>\n/
- - !!js/regexp / margin-top[^]*?<\/style>/
- ---
- <%%>
- <template>
- <div id="app">
- <div id="nav">
- <router-link to="/">Home</router-link> |
- <router-link to="/about">About</router-link>
- </div>
- <router-view/>
- </div>
- </template>
- <%%>
- <%%>
- <%%>
- <%%>
- }
- <%_ if (rootOptions.cssPreprocessor !== 'stylus') { _%>
- <%_ if (!rootOptions.cssPreprocessor) { _%>
- padding: 30px;
- }
- font-weight: bold;
- color:
- }
- color:
- }
- <%_ } else { _%>
- padding: 30px;
- a {
- font-weight: bold;
- color:
- &.router-link-exact-active {
- color:
- }
- }
- }
- <%_ } _%>
- <%_ } else { _%>
- padding 30px
- a
- font-weight bold
- color
- &.router-link-exact-active
- color
- <%_ } _%>
- </style>
- <%%>
|