Этот коммит содержится в:
Maarten 2024-10-11 20:23:22 +02:00
родитель aff98ab8f4
Коммит dca26bd54d
2 изменённых файлов: 7 добавлений и 28 удалений

Просмотреть файл

@ -1,29 +1,11 @@
# create-svelte
To run this app locally:
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/main/packages/create-svelte).
- clone this repository
- navigate into the folder of the repository on the command line
- run `npm install`
- run `npm run dev`
## 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
```
The command line log will give you a url to run the app locally in your browser.
## Building
@ -33,6 +15,4 @@ To create a production version of your app:
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.
The files of the built app will be in the `build` folder. You can preview the production build with `npm run preview`.

Просмотреть файл

@ -22,7 +22,6 @@
}
function handleMouseOut() {
//showTooltip = false;
//test
}
</script>