Code Monkey home page Code Monkey logo

bitonic_sort's Introduction

Vanilla-Typescript Template

This is template used to make plain html and css projects with Typescript

GitHub tag License

Made with Node.js

How it works

This template uses webpack to compile all typescript code in the src directory into a single javascript bundle. This enable the use of modules in the typescript code. All imports used in the index.ts code would get bundled into a single javascript file (in this case script.js) solving the problem of with tsc --watch command which will compile each imported module seperately to their javascript equivalent.

How to use template to create your own projects

Click on the "use template" button
use template

Input your the name of your Project and click "create project from repository" button
create new project from template

You should see that your new project's repository has been created
new-project-created

copy the link to clone the repo to your local machine (note the link will be different depending on your repository account and your project name)
copy-repo-link

after cloning your repo to your local machine with the git clone command

Installing the dependencies

In the projects root directory

npm install

This will install all the dependencies in the package.json

Then:

Go into the src directory and run the start script

cd ./src

npm start

This will run the start script in the package.json (this runs webpack --watch which will automatically recompile index.ts in the src directory on every change)

In the public folder/directory

open index.html (if you are using visual studio code as your text editor use liveserver extension)

If all the steps are done correctly the counter-example show be rendered in your browser when you open index.html in your browser with liveserver
counter-example

check out the github repo

bitonic_sort's People

Contributors

cmhhelgeson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.