First you need to set proper env variables in a .env file. This project uses Pocketbase as BaaS. So, first thing you are going to do is provide pocketbase url.
POCKETBASE_URL = "{link to the url pocktbase is listening at.}"
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run build:dev
# or start the server and open the app in a new browser tab
npm run build:dev -- --open
To create a production version of your app:
npm run build:prod
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.