Skip to content

zinderud/ZindeTypeScriptStart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zinderud typescript start

A Typescript 'Hello World' example project

Requirements

  • npm

Usage

TypeScript is a typed superset of JavaScript that compiles down to plain JavaScript, which also supports modern ES2015+ features.

<!-- index.html -->
<html>
<body>
  <script src="./index.ts"></script>
</body>
</html>

// index.ts
import message from './message'
console.log(message)
// message.ts
export default 'Hello, world

'

Setup

 
npm install

Start Auto-Refresh Build Process & Server

npm run dev

Local server is accessible at [http://localhost:1234]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published