Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit 8fda83e

Browse files
committed
fix(nuxt.config.ts): isClient is @deprecated Use process.client instead
https://github.com/nuxt/nuxt.js/blob/dev/packages/vue-app/types/index.d.ts#L20
1 parent 95e88fb commit 8fda83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module.exports = {
9797
*/
9898
extend(config: Configuration, ctx: Context) {
9999
// Run ESLint on save
100-
if (ctx.isDev && ctx.isClient) {
100+
if (ctx.isDev && process.client) {
101101
if (config.module) {
102102
config.module.rules.push({
103103
enforce: 'pre',

0 commit comments

Comments
 (0)