Skip to content

Commit c87e00a

Browse files
committed
Add migrate instruction
1 parent dd950ec commit c87e00a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

MyApp/Pages/TextToBlazor.cshtml

+7-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,11 @@ green-500 #22c55e
176176
</div>
177177
</a>
178178
</div>
179-
</div>
179+
</div>
180+
<div class="mt-4 mx-auto max-w-sm">
181+
<h4 class="py-6 text-center text-xl">In <span class="font-semibold text-indigo-700">/{{project}}</span>, Create Database with:</h4>
182+
<copy-line prefix="$ " text="npm run migrate"></copy-line>
183+
</div>
180184
</div>
181185

182186
<div class="my-24" v-cloak>
@@ -230,6 +234,7 @@ import { JsonServiceClient, rightPart, lastRightPart } from "@@servicestack/clie
230234
import ServiceStackVue from "@@servicestack/vue"
231235
import PagesNav from "./mjs/components/PagesNav.mjs"
232236
import GistView from "./mjs/components/GistView.mjs"
237+
import CopyLine from "./mjs/components/CopyLine.mjs"
233238
234239
export const icons = {
235240
'llama3.1:70b': '/img/models/llama.svg',
@@ -303,6 +308,7 @@ const AppComponent = {
303308
components: {
304309
PagesNav,
305310
GistView,
311+
CopyLine,
306312
},
307313
setup() {
308314
const project = ref('Acme')

0 commit comments

Comments
 (0)