Create-React-App SAS App Factory Cloud Template
Template for App Factory Cloud UI development for React.
Getting started
Create from the template
You can use the afcli
for initializing a new project:
npx @sassoftware/afcli@latest create
Alternatively, you can use this template with the typical create-react-app experience:
npx create-react-app example-app --template @sassoftware/cra-template-sas-af
Or via yarn:
yarn create react-app example-app --template @sassoftware/cra-template-sas-af
Getting Started (internal devs)
There are two convenient commands for working with the template locally:
npm run template-npm
yarn run template-yarn
Changes to template.json
will result in a matching package.json
merged with CRA's defaults when templated.
Changes to src/gitignore
will be turned into project's .gitignore
Create from template
If you want to use the local template instead of the version in NPM, you can specify a file path to the local template:
npx create-react-app example-app --template file:./cra-template-sas-af
Contributions
This project is currently intended for use by participants in the SAS Hackathon. During this event, the repository will refrain from accepting external contributions. However, we have plans to open source the project in the near future, at which point we will welcome contributions from the community.
Please note that after the SAS Hackathon concludes, this notice will be removed, and we will provide updated guidelines for contributing to the project once it becomes open source. We appreciate your understanding and look forward to collaborating with you in the future.