mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
a759196865
* feat: inline HMR progress indicator * support router base * fix nuxt err * fix space * fix indentation * return in case of ws message parsing error * close ws on beforeDestroy * ui: Update loading indicator UI * builder: Add build.indicator option * ui: Use only logo and % * hotfix: Alphabetical order * hotfix: Add fixed with and add back v-if * minor style change * rename component to build-indicator * feat: animated progress * assign name to component * update test * naming consistency * render into app to prevent dom wrapping * extra new line * better App.js formatting * update snapshot * clear interval
28 lines
639 B
JavaScript
28 lines
639 B
JavaScript
import path from 'path'
|
|
import { dependencies } from '../package.json'
|
|
|
|
export const template = {
|
|
dependencies,
|
|
dir: path.join(__dirname, '..', 'template'),
|
|
files: [
|
|
'App.js',
|
|
'client.js',
|
|
'index.js',
|
|
'middleware.js',
|
|
'router.js',
|
|
'server.js',
|
|
'utils.js',
|
|
'empty.js',
|
|
'components/nuxt-build-indicator.vue',
|
|
'components/nuxt-error.vue',
|
|
'components/nuxt-loading.vue',
|
|
'components/nuxt-child.js',
|
|
'components/nuxt-link.server.js',
|
|
'components/nuxt-link.client.js',
|
|
'components/nuxt.js',
|
|
'components/no-ssr.js',
|
|
'views/app.template.html',
|
|
'views/error.html'
|
|
]
|
|
}
|