Warning on Mix.install for Mix standalone (#336)

This commit is contained in:
José Valim 2021-06-09 16:51:53 +02:00 committed by GitHub
parent c4a96bc99c
commit d0c47557a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,12 @@ defmodule LivebookWeb.SessionLive.MixStandaloneLive do
This way all your code and dependencies will be available
within the notebook.
</p>
<p class="text-gray-700">
<span class="font-semibold">Warning:</span>
Notebooks that use <code>Mix.install/1</code> do not work
inside a Mix project because the dependencies of the project
itself have been installed instead.
</p>
<%= if @status == :initial do %>
<div class="h-full h-52">
<%= live_component LivebookWeb.PathSelectComponent,