# create a new project in the current directory
git clone <REPO>
cd <REPO>
# create a new project in my-app
pnpm install
Note: You'll need to replace the values with your own environment variables.
# cp .env.example .env
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
# you can also host your dev session on your local network, allowing you to test on other devices. Use --host to specify the host you want to use:
pnpm run dev --host
To create a production version of your app:
pnpm 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.