69 lines
No EOL
2.3 KiB
Markdown
69 lines
No EOL
2.3 KiB
Markdown
# create-svelte
|
||
|
||
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-add/kit@latest
|
||
|
||
➕ Svelte Add's SvelteKit app initializer (Version 2023.06.30.00)
|
||
✔ What directory should your app be created in? … explorecraft-testing
|
||
✔ What scripting language will you write your app in? › JavaScript
|
||
✔ What language will you write your app styles in? › SCSS (used by Bootstrap and Bulma and PicoCSS)
|
||
✔ What framework will you use for your app's styles? › PicoCSS
|
||
✔ What other features do you want for your app? ›
|
||
✔ What code quality tools do you want to help maintain your app? ›
|
||
✔ Where will you deploy your app? › Nowhere (set up a deployment target later)
|
||
✔ Do you want example code added to your app to demonstrate how to use the tools you've selected? › Yes
|
||
✔ Should your app's dependencies be installed with npm right now? › Yes
|
||
=============
|
||
|
||
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
|
||
|
||
You may find that it works just fine, or you may not.
|
||
|
||
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.1.0
|
||
|
||
YOUR TYPESCRIPT VERSION: 5.1.3
|
||
|
||
Please only submit bug reports when using the officially supported version.
|
||
|
||
=============
|
||
🪄 Your JavaScript + SCSS + PicoCSS SvelteKit app is ready!
|
||
1. cd explorecraft-testing-sveltekit
|
||
2. npm run dev -- --open # start developing with a browser open
|
||
❯ cd explorecraft-testing
|
||
```
|
||
|
||
## 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.
|
||
|
||
-----
|
||
|
||
- `git clone https://gitpot.dev/sangelo/explorecraft-testing.git && cd explorecraft-testing`
|
||
- `npm install`
|
||
- `npm run dev` |