The Angular quick start project launches a blog app with content from Prepr.
Look at the Angular Quick start guide to learn more.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Go to the environments folder in the project and open the environments.ts file to replace YOUR_PREPR_GRAPHQL_URL
with the API URL of the Prepr GraphQL Preview access token from your demo environment.
Start the development server on http://localhost:4200
ng serve
To build the project run:
ng build
This will compile your project and store the build artifacts in the dist/
directory.
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.