Skip to content

This template will show you the basic project structure for building your own custom Tapps with ES2015 and the chayns-Framework.

License

Notifications You must be signed in to change notification settings

MariusGertdenken/chayns-template-es6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license GitHub pull requests

chayns+ES2015 Template

This template will show you the basic project structure for building your own custom Tapps with ES2015 and the chayns-Framework.

Requirements

Getting started

The template is based on several npm-Packages, which have to be installed first. If you haven´t installed node.js already, please install it now. For installing the dependencies you have to open your node.js terminal, change the path to the cloned project and run:

npm i

For setting up the recommended folder structure you just have to run:

npm run setup

This project uses webpack and Babel for building and debugging. You can start the webpack-dev-server with the following statement:

npm start

For creating an production build execute this code:

npm run release

To add this tapp to your Chayns site you need to follow these steps:

  1. Go to configuration -> Tapps
  2. Click Add Tapp
  3. Use external content
  4. Fill out the name and in the field data source set an url like this: http://localhost:8080/index.html
  5. Click add
  6. If your website isn't running make sure you have entered npm start

About

This template will show you the basic project structure for building your own custom Tapps with ES2015 and the chayns-Framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.6%
  • HTML 20.4%
  • CSS 3.0%