Skip to content

Update template init script and sanity studio name & title #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2024
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run the command in your Terminal to initialize this template on your local compu
See the documentation if you are [having issues with the CLI](https://www.sanity.io/help/cli-errors).

```shell
npm create sanity@latest -- --template sanity-template-sveltekit-clean
npm create sanity@latest -- --template sanity-io/sanity-template-sveltekit-clean
```

#### 2. Run the application and Sanity Studio
Expand Down
4 changes: 2 additions & 2 deletions studio/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const projectId = process.env.SANITY_STUDIO_PROJECT_ID!
export const dataset = process.env.SANITY_STUDIO_DATASET!

export default defineConfig({
name: 'project-name',
title: 'Project Name',
name: 'sanity-template-sveltekit-clean',
title: 'Clean SvelteKit + Sanity app',
projectId,
dataset,
plugins: [
Expand Down
Loading