LoginSignup
0
0

More than 3 years have passed since last update.

vueアプリを起動すると "You are using the runtime-only build of Vue where the template compiler is not available"というエラーが発生

Posted at

環境
vue 2.6.12

エラー内容

You are using the runtime-only build of Vue where the template compiler is not available. 
Either pre-compile the templates into render functions, or use the compiler-included build.

解決方法

  1. プロジェクトディレクトリ直下に vue.config.jsを作成
  2. module.exports = { runtimeCompiler: true, } を追加
vue.config.js
module.exports = {
  runtimeCompiler: true,
}

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0