0.0.27 • Published 4 years ago

@cherrypulp/trunk v0.0.27

Weekly downloads
42
License
MIT
Repository
gitlab
Last release
4 years ago

Trunk

Frontend framework for cool kids

Installation

Make sure all dependencies have been installed before moving on:

npm install --save @cherrypulp/trunk

Webpack

// webpack.mix.js
...
mix.webpackConfig({
    resolve: {
        alias: {
            # required for autoload
            '@': path.resolve(__dirname, paths.src),
        },
    },
});
...

Quick start

Configuration and Setup

Take a look to config/ directory. You can setup a lot of things there.

# mandatory
# TODO
import { Application } from '@cherrypulp/trunk';

const app = new Application();

// Bind Dependencies
app.bind('Http', axios);

// Register Service Providers
app.register(new MyAwesomeServiceProvider(app));

document.addEventListener('DOMContentLoaded', () => app.boot());

Structure

assets/
|--- js/
|    |--- config/                           # autoloaded by ConfigServiceProvider
|    |    |--- app.js
|    |--- main.js
|--- scss/
|    |--- config/                           # autoloaded by @cherrypulp/trunk/src/scss/index.scss
|    |    |--- index.scss

Documentation

Container

Binding dependencies

app.bind('Http', axios);
# TODO

Versioning

Versioned using SemVer.

Contribution

Please raise an issue if you find any. Pull requests are welcome!

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.

0.0.27

4 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago