https://github.com/storyblok/storyblok-angular-example
https://github.com/storyblok/storyblok-angular-example
angular storyblok
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/storyblok/storyblok-angular-example
- Owner: storyblok
- Created: 2018-07-07T21:40:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:14:11.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T23:59:53.433Z (over 1 year ago)
- Topics: angular, storyblok
- Language: TypeScript
- Size: 3.68 MB
- Stars: 10
- Watchers: 11
- Forks: 6
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular 8 Example with Storyblok live preview
This **Angular 8** projects demonstrates the integration of the headless CMS Storyblok with it's "True Live Preview" feature.
:filters:format(jpeg)/f/51376/2870x1548/c332fe9c67/angular-5-minutes-tutorial-finish.png)
#### To see the full tutorial of this boilerplate, go to [storyblok](https://).
## Run project
To run this project follow the steps below:
1. Clone this repository:
```bash
git clone https://github.com/storyblok/storyblok-angular-example.git
```
2. Install all dependencies:
```bash
npm install
```
3. Create a [Storyblok space](https://app.storyblok.com/) and copy your preview token and exchange the token in arquive src/app/storyblok.service.ts4. If all went well, run the command:
```bash
npm start
```##### Run to `http://localhost:4200/`
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).