A TypeScript and SCSS library.
The typescript library contains simple to use modules for simple repettitive tasks faced when creating a web app. Read more about TypeScript.
Styles written in scss are easier to read and maintain (in my opinion). Only simple styling is applied to common elements. Some themes are available. Read more about SCSS and SASS.
- Copy the contents of "/src" into the html root of your project.
- Configure your TypeScript compiler
- Configure your SCSS compiler
- Done
No worries, both the typescript and the scss have been compiled beforehand and is ready for use.
- Do not configure their compilers
- Delete the "/src/ts" folder if not using TypeScript
- Delete the "/src/scss" folder if not using SCSS
Typescript compilers look for a file named tsconfig.json when compiling. This file contains the settings used in compilation. A simple tsconfig.json would be:
{
"compilerOptions": {
"target": "<ES3|ES5|ES2015|ES2016|ES2017|ES2018|ESNext>",
"module": "esnext",
"outDir": "<your-web-directory>/js/",
"rootDir": "<your-web-directory>/ts/",
"strict": true,
"esModuleInterop": true,
"sourceMap": true,
"declaration": true
}
}