/frontend-framework-from-scratch

A learning project where I ended up building a small framework (extracted into o2fp now)

Primary LanguageTypeScript

frontend-framework-from-scratch

I recommend first having a look at the PDF learning report.

A demo is available. Note that it is hosted in a S3 bucket, i.e. if you refresh the page, you'll get redirected to "index.html" by S3.

Run

  1. Clone the repo
  2. cd frontend-framework-from-scratch
  3. npm i
  4. npm run watch
  5. open new terminal
  6. cd frontend-framework-from-scratch
  7. npx serve -s
  8. Enjoy at localhost:3000

o2fp

If you want to try just the framework, it was extracted out in https://github.com/petercrona/o2fp and published on npm as "o2fp". So you can do "npm install o2fp --save" in your TypeScript project.