2018-10-17 21:28:25 +00:00
|
|
|
import path from 'path'
|
2019-01-02 14:17:19 +00:00
|
|
|
import { dependencies } from '../package.json'
|
2018-10-17 21:28:25 +00:00
|
|
|
|
2019-01-02 14:17:19 +00:00
|
|
|
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-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'
|
|
|
|
]
|
|
|
|
}
|