Particularly simple old school single page lightweight web framework for clever javascript developers.
You need to be clever to understand why this framework is that party(cular) you want to have.
But I allow you to use it anyway!
------------------------------------------
- in development, beta state.
------------------------------------------
TALBE OF CONTENTS
I just want to develop with Javascript: The code i write IS the code i run in the browser.
Writing Javascript and HTML the old way! So I can directly run and debug my code in the browser. Instant!
Intensive transpiling (minifying) will (can!) finally happen when creating a production build. I even can create a single file production build out of the box! (Feature not yet implemented)
I don't want to learn a new framework world. I can JavaScript, I want to do JavaScript. I want it simple, I want it stupid easy. So i can add whatever I want if I need to.
A framework that gives me a frame, but doesnt force me into it.
... and at the end I want to be happy! :-)
- Solid basic project structure
- Simple but powerful page pattern structure with loader / router
- Live development web server for JavaScript and SCSS
- Life cycle with hook feature
- Internationalization out of the box
- Global state storage to keep state on three different persistence levels
- Builder to create compressed and minified .js and .css for production
- Optionally:
To get an overview and idea about the framework, have a look at the introduction.
NodeJS >= 13.x and Yarn 1.x are installed. You may use npm instead of yarn.
yarn global add simpartic
You have to ensure, that the path of yarns bin directory is added to PATH.
If the command sipa
is not available after installation, add the following line to your shell config if you are using linux/macOS/unix (~/.bashrc
, ~/.zshrc
/...):
export PATH="$(yarn global bin):$PATH"
Run yarn global bin
and add the returned PATH to your global PATH environment variable.
npm install -g simpartic
Depending on your global npm directory, you may need to run this command with sudo or as root:
sudo npm install -g simpartic
That's it!
The command sipa
(and its long version simpartic
) is now available on the command line.
Run sipa help
for more information.
Or get started with our tutorial in the developer documentation.
On the commandline run
sipa new
to create a new project as subfolder of the current directory.
A interactive setup assists you and generates the project depending on your input.
Bug reports and pull requests are welcome on GitHub at https://github.com/magynhard/simpartic. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
More technical information to setup, you can find in the contributors dcoumentation.