mentorenwahl/frontend_old
Dominic Grimm ff2b884d42
All checks were successful
continuous-integration/drone/push Build is passing
Agent oriented logged in state
2022-11-05 21:27:49 +01:00
..
src Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
static Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
.dockerignore Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
.eslintrc.cjs Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
.gitignore Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
.npmrc Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
.prettierrc Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
Dockerfile Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
package.json Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
README.md Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
svelte.config.js Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
tsconfig.json Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00
yarn.lock Rewrite frontend in rust with yew 2022-11-04 21:23:36 +01:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

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

# create a new project in the current directory
npm init svelte@next

# create a new project in my-app
npm init svelte@next my-app

Note: the @next is temporary

Developing

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

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:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.