Failed to mount component: template or render function not defined. (found in root instance)
Vue.jsを使っていてエラーが出たのでメモ
[Vue warn]: Failed to mount component: template or render function not defined. (found in root instance)
このページに書いてあるようにwebpackの設定でresolveを追加 vuejs.org
上記エラーを解決したら以下のエラーが発生
[Vue warn]: It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.
Chrome Extension開発なのでCSP対応が必要になる
npm i vue@csp
で入れ直して解決