Prismic React Site Example
This project is an implementation of the Prismic multipage site demo using ReactJS. Built up from the starter project, it's meant to provide you with an idea of how to build your own sites using the Prismic features. Read our user guide (once published) if you need guidance on how to use this repository.
Getting started quickly with Prismic Themes
You can use our Prismic-CLI tool to quickly install this project in your machine, as well as setting up a Prismic repository with the required Custom Types. Just follow the instructions in your terminal to get started!
> $ npm install -g prismic-cli
> $ prismic theme https://github.com/raulg/reactjs-website --conf /src/prismic-configuration.js
Install dependencies
> $ npm install
Runs the app in the development mode
Build and open your browser to http://localhost:3000.
> $ npm start
Builds the app for production to the build folder
> $ npm run build
Deployment
This project is ready for deployment using Netlify, thanks to the addition of a _redirects
file located in the public folder. If you're interested in deploying to other platforms review the suggested solutions.
Get started with Prismic
You can find out how to get started with Prismic from our React documentation.
Licence
This software is licensed under the Apache 2 license, quoted below.
Copyright 2017 Prismic.io (https://prismic.io).
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.