samples
samples copied to clipboard
Samples applications demonstrating the features and style of Enact
Enact Samples
Sample applications demonstrating the features and style of Enact
Prerequisites
Before using the samples, the Enact command line tool must be installed globally. Use the following command to install it:
npm install -g @enact/cli
Note: On Linux, it may be necessary to use
sudowith the preceding command.
Using the Samples
Each directory contains a sample Enact application demonstrating a particular concept or component. To run a sample, cd into the appropriate directory and then install the needed dependencies:
npm install
To build the sample and start a local web server, use the serve command:
npm run serve
The All Samples App
All samples may be accessed from a single app in the enact-all-samples directory. A list of samples is presented and individual samples may be run by clicking on a specific item. To return to the menu, hover the pointer near the upper right corner to reveal a hidden button.
Copyright and License Information
Unless otherwise specified, all content, including all source code files and documentation files in this repository are:
Copyright (c) 2012-2022 LG Electronics
Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content 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.