Skip to content

Commit

Permalink
update nuxt v2.*
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyspiro committed Dec 12, 2018
1 parent e7825c3 commit ccc2dee
Show file tree
Hide file tree
Showing 4 changed files with 8,327 additions and 7,762 deletions.
2 changes: 1 addition & 1 deletion components/Page.vue
@@ -1,7 +1,7 @@
<template>
<div>
<h1>{{ page.title }}</h1>
<div>{{ page.content }}</div>
<div v-html="page.content"></div>
</div>
</template>
<script>
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.js
Expand Up @@ -24,8 +24,8 @@ module.exports = {
/*
** Run ESLint on save
*/
extend (config, { isDev, isClient }) {
if (isDev && isClient) {
extend (config, { isDev }) {
if (isDev && process.client) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
Expand Down

0 comments on commit ccc2dee

Please sign in to comment.