Skip to content
Draft
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
13 changes: 0 additions & 13 deletions svelte/.eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions svelte/.eslintrc.cjs

This file was deleted.

2 changes: 2 additions & 0 deletions svelte/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules
!.env.example
.vercel
.output
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
13 changes: 0 additions & 13 deletions svelte/.prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions svelte/.prettierrc

This file was deleted.

32 changes: 30 additions & 2 deletions svelte/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,38 @@
<img width="100%" src="https://raw.githubusercontent.com/Flagsmith/flagsmith/main/static-files/hero.png"/>
# create-svelte

## Flagsmith with Svelte
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
Loading