Skip to content

✨ A tiny (~11kB minified) JS library for creating interactive user interfaces. It offers a Vue-like declarative API and development using markup-oriented code, with automatic reacts, updates, and renders the new view in real-time.

License

Notifications You must be signed in to change notification settings

yanaleksandrov/x.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter WebPack

Here is a simple and easy starter web project.

The site is a simple set of HTML pages with its own CSS styles and a JavaScript file. It is necessary to write a project that would assemble our site from source:

  • one CSS file is formed from SASS (more precisely SCSS) files;
  • a single JavaScript file is generated from various JavaScript libraries and user code;
  • HTML pages are assembled using a template, where the contents of the header and footer can be separated into separate files.

How to start

Run npm install

Run npm run start for a dev server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.

Run npm run build to build the project. We are assembling the project and the assembled static site will appear in the dist folder.

Project structure

The general structure of the project is presented below:

├── dist
├─┬ src
│ ├─┬ fonts
│ │ └── Roboto-Regular.ttf
│ ├─┬ view
│ │ ├─┬ parts
│ │ │ ├── footer.html
│ │ │ └── header.html
│ │ └── index.html
│ ├─┬ images
│ │ └── favicon.ico
│ ├── scripts
│ ├── styles
│ ├── index.js
│ └── styles.scss
├── package.json
└── webpack.config.js

About

✨ A tiny (~11kB minified) JS library for creating interactive user interfaces. It offers a Vue-like declarative API and development using markup-oriented code, with automatic reacts, updates, and renders the new view in real-time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published