New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@elithica/cli

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elithica/cli

CLI to install Elithica

  • 1.0.10
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

#Elithica CLI

Elithica - A modular front-end framework for intuitive web development. Node/Express Version.

Note: Elithica is still in development, so some features have not yet been added.

INSTALL

Note: This CLI uses Git at this time to pull the relevant selections. Make sure you have Git installed. A later version will remove this requirement.

npm install -g @elithica/cli
elithica

Known Issues

Elithica is still in base development and this includes the CLI. We have noticed some issues on Windows machines with project pathing. In general, if this becomes an issue, create your project directory first and then run the CLI. Thank you for your patience.

The Elithica CLI is designed to install versions of the Elithica framework. Elithica is a front-end JavaScript Single Page Application (SPA) framework. The following Elithica options are available install:

Node/Express

LAMP (Apache/PHP)

These two structures are similar, but differ with respect to minor routing. For example Apache requires an .htaccess file to direct routes to the single page application (SPA), while the Express install does not need them.

Framework Structure

The core aspect of Elithica is a uniform structure that allows you to do intuitive ES6 modular development on the front-end without a larger framework. Here is what the general structure looks like:

 root_folder
     |-- css
          |-- lib
               |-- (css framework, optional)
     |-- img
          |-- logo  
     |-- js
          |-- config
                |-- main.menu.js
                |-- main.template.js
                |-- routes.js

          |-- lib
               |-- svg
                    |-- icons.js
               |-- (jquery, optional)

          |-- modules
               |-- components
                    |-- COMING SOON!
               |-- integrants
                    |-- COMING SOON!
               home.mod.js

          |-- utils
               |-- fetch.Util.js
               |-- valid.Util.js

          app_legacy.js
          app.js

     index.html

How to Use and Customize

Once Elithica is installed, you can do what you want. Obviously, familiarity with a framework is key so you will want to take a look around. After this, we recommend the following steps:

1) Edit the index.html Title and Metadata to match your project.
2) Edit the home.mod.js file with your own HTML and JavaScript
3) If you require an overall layout change, edit the js/config/main.template.js with your preferred page structure.
4) Require more pages in your SPA? Edit the js/config/routes.js file, then add a matching module in js/modules. Use the _template.mod.js file to get you started.
5) Further Customizations: By default Elithica comes with the Spectre CSS Framework and jQuery. These are optional tools. If you don't want them, just remove the reference from the index.html page and remove them from the relevant lib folders.

Keywords

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc