Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

adobe/react-twist-starter

react-twist-starter

Simple starter repo for React Twist that contains support for the following:

  • CSS and LESS imports
  • JSON and JSON5 imports
  • Common image imports

Other features:

  • Vendor code splitting

Usage

Clone or download this repository, and then run npm install. This will download and install the necessary dependencies.

There are several npm scripts you can use:

  • npm start (aliases: serve, watch) – watches the project for changes, and reloads when detected. Default address is localhost:8080.
  • npm build – builds the project in ./build
  • npm build:prod – builds a production version in ./build
  • npm build:test – builds a test version in ./build

Coding your project

You should make changes to the ./src directory. The entry point is defined as ./src/Main.jsx.

Linting your project

This project comes with eslint configured to use eslint:recommended and Twist's recommended settings, as described on https://github.com/adobe/eslint-plugin-twist#eslintrc-sample-configuration.

You can run the lint process using:

npm run lint

Releases

No releases published

Packages

No packages published