Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

A template to develop React App in Visualforce. Including react-lightning-desing-system

License

Notifications You must be signed in to change notification settings

zaki-yama-labs/react-visualforce-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Visualforce Template

A template for developing React application in Visualforce.
This template automates the following things:

  • Build JavaScript & CSS using webpack
  • Compress all bundled files and create StaticResource (.resource)
  • Deploy StaticResource and all other metadata to your Salesforce org
  • Watch file changes and run re-build & deploy

Stack

Installation

$ npm install -g gulp
$ npm install

Usage

First you need to rename .env.sample to .env and input your Salesforce org credentials.
Then run following command.

# Build JS/CSS & Create StaticResource & Deploy
$ gulp

# Deploy only
$ gulp deploy

# watch changes in src/ and pkg/ directory, and deploy when updated
$ gulp watch

License

MIT

About

A template to develop React App in Visualforce. Including react-lightning-desing-system

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published