LoginSignup
4
1

More than 3 years have passed since last update.

Leafのテンプレートファイルが読み込まれない

Last updated at Posted at 2020-12-01

VaporのLeafを使っている時に起きるエラーです。
ファイル構成は正しいはずなのに .leaf が読み込まれず LeafKit.LeafError.Reason.noTemplateExists と表示される場合は

Edit Scheme -> Run -> Options タブの中の Check the "Use custom working directory にチェックを入れ、プロジェクトのルートディレクトリを選択すると .leaf ファイルが読み込まれるようになりました。

checkmark.png

参考: Ask questionsRunning Feather from Xcode causes error

4
1
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
4
1