Module Structure
This application is based on Etools Frontend Template App.
Files Structure
I
.circleci/
assets/
src_ts/
package.json
polymer.json
...Other configuration files
In the application root directory you can find all configuration files for development and build process. Here you can find Docker config files, configs for code linting, gulp config, polymer cli configuration. You can find all source files in src_ts/
directory.
src_ts/
directory contains components/
directory with all application custom components, configs/
directory with environment configuration and permission configs, endpoints/
directory with all application endpoints, types/
with types .
Elements Directory Structure
I
app-shell/
common/
styles/
utils/
pages/
In components/
you can find:
common/
directory with elements that are used in different pages several times;app-shell/
directory with application main element and base elements common to all modules (header, sidebar);utils/
directory with helper functions;pages/
directory with elements divided by pages, which will be lazy loaded;styles/
with common styles.
Last updated