Skip to content

Commit

Permalink
chore(frontend): cleanup README and svelte config
Browse files Browse the repository at this point in the history
  • Loading branch information
Data5tream committed Apr 5, 2023
1 parent 2779f7f commit 0dc97c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 39 deletions.
38 changes: 4 additions & 34 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,8 @@
# create-svelte
# Simple status page svelte app

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/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:
The svelte app that powers the UI

```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
pnpm i
pnpm run dev
```

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.
5 changes: 0 additions & 5 deletions frontend/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@ import { vitePreprocess } from '@sveltejs/kit/vite';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down

0 comments on commit 0dc97c1

Please sign in to comment.