Skip to content

Frontend functionality in typescript without a framework.

Notifications You must be signed in to change notification settings

danielKugler/typescript-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Frontend

Frontend functionality in typescript without a framework.

This is a demo of how an environment is set up to code frontend functionality in typescript A simple translation handling is done with i18n JSON files. Therefor a URL parameter is used to choose the language.

Requirement

The following programs or modules are necessary:

  • Node JS: This Project was set up using version8.x
  • Typescript: This Project uses 3.2.2

Installation

Check out the repository with you favorite Gite client. Within the directory install node dependencies with npm npm install or width yarn yarn install.

Development server

Run npm start or if you prefer yarn yarn start for a dev server. Navigate to http://localhost:3000/ if the page doesn't load up by it self. The app will automatically reload if you change any of the source files.

Build

Run npm run deploy to build the project. The build artifacts will be stored in the deploy/ directory.

Docs

Run npm run docs to build the documentation. The documentation will be generated within a docs/ folder

License

"THE BEER-WARE LICENSE" (Revision 42): Daniel Kugler[email protected] wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.

Daniel Kugler

About

Frontend functionality in typescript without a framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published