Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cursorindexingignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

# Don't index SpecStory auto-save files, but allow explicit context inclusion via @ references
.specstory/**
5 changes: 4 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Required - LeadCMS root URL could be local or remote url or empty value if admin is supposed to be server from wwwroot folder of the backend
# Required - LeadCMS API root URL (preferred key)
VITE_API_URL=

# Backward compatibility key (legacy). If VITE_API_URL is empty, CORE_API will be used.
CORE_API=

#Required - Code version
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Install dependencies:

Create `.env` file and add configurations as shown in `.env.sample` file. Refer below example:

VITE_API_URL=http://localhost:45437

Legacy key is still supported:

CORE_API=http://localhost:45437

Fix any code formatting errors/warnings before do git commit.
Expand All @@ -43,4 +47,4 @@ Start development server:

Open the app:

http://localhost:8080
http://localhost:8081
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="LeadCMS Admin - Lightweight, extendable headless CMS" />
<title><%= title || 'LeadCMS Admin' %></title>
</head>
<body>
<div id="root"></div>
<!-- Vite requires the entry point to be referenced here -->
<script type="module" src="/src/index.ts"></script>
</body>
</html>
Loading