Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] nuxt update #108

Open
wants to merge 3 commits into
base: production
Choose a base branch
from
Open

[WIP] nuxt update #108

wants to merge 3 commits into from

Conversation

shomiyu
Copy link
Contributor

@shomiyu shomiyu commented Oct 25, 2021

手順

参考:Bridge

  • Upgrade Nuxt 2
  • Install Nuxt Bridge
  • Update your scripts
  • Update nuxt.config
  • Avoid CommonJS syntax

問題点

  1. "global is not defined " error
    スクリーンショット 2021-10-25 12 48 02
    コンソールに表示されるエラー。
    ブログの情報は取得できているが、draftとsearchが動かない。
    ※bridgeを無効にすると正常に動作することを確認
export default defineNuxtConfig({
  bridge: false // Temporarily disable bridge integration
})
  1. nuxt generateの失敗
    スクリーンショット 2021-10-25 12 52 12

dayjsの読み込みで怒られている模様

@netlify
Copy link

netlify bot commented Oct 25, 2021

❌ Deploy Preview for blog-microcms failed.

🔨 Explore the source changes: 22b9303

🔍 Inspect the deploy log: https://app.netlify.com/sites/blog-microcms/deploys/617748c18dd80d0007886d53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant