Dynamically builds a react-hash-routed site based on site configuration, navigation configuration and page configuration.
The provided webpack config includes a call to the generateAppConfig script. The generateAppConfig script builds out static config to the ./dev-site-config/build folder. generateAppConfig also discovers pages based on it's configuration. After the static config has been built webpack continues to run, pulling in the static config, and producing the webpack bundle.
Provides the following script:
tds:generate-app-config
: generates the static files the site requires.
Provides the following default configuration:
config/site/site.config.js
config/site/navigation.config.js
config/webpack/webpack.config.js
config/wdio/wdio.conf.js
- Install with npm:
npm install terra-dev-site
terra-dev-site is considered to be stable and will follow SemVer for versioning.
- MAJOR versions represent breaking changes
- MINOR versions represent added functionality in a backwards-compatible manner
- PATCH versions represent backwards-compatible bug fixes
Consult the component CHANGELOGs, related issues, and PRs for more information.
Please read through our contributing guidelines. Included are directions for issue reporting and pull requests.
Copyright 2017 - 2019 Cerner Innovation, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file 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.