mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
style: lint
This commit is contained in:
parent
212283837b
commit
ecd80c40c4
@ -12,7 +12,7 @@ export default class TemplateContext {
|
|||||||
templateFiles: string[]
|
templateFiles: string[]
|
||||||
templateVars: any
|
templateVars: any
|
||||||
|
|
||||||
constructor(builder: Builder, options: NormalizedConfiguration) {
|
constructor (builder: Builder, options: NormalizedConfiguration) {
|
||||||
this.templateFiles = Array.from(builder.template.files)
|
this.templateFiles = Array.from(builder.template.files)
|
||||||
this.templateVars = {
|
this.templateVars = {
|
||||||
nuxtOptions: options,
|
nuxtOptions: options,
|
||||||
@ -58,7 +58,7 @@ export default class TemplateContext {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
get templateOptions() {
|
get templateOptions () {
|
||||||
return {
|
return {
|
||||||
imports: {
|
imports: {
|
||||||
serialize,
|
serialize,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import consola from 'consola'
|
import consola from 'consola'
|
||||||
import type { ParsedArgs} from 'minimist'
|
import type { ParsedArgs } from 'minimist'
|
||||||
|
|
||||||
import { Configuration } from 'nuxt/config/options'
|
import { Configuration } from 'nuxt/config/options'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user