Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phillipcurl/mise-en-place

:bento: A collection of lightweight, versatile layout primitives for building Vue.js apps.
https://github.com/phillipcurl/mise-en-place

css css-flexbox css-grid layout layout-primitives vue vue-components vuejs

Last synced: about 4 hours ago
JSON representation

:bento: A collection of lightweight, versatile layout primitives for building Vue.js apps.

Awesome Lists containing this project

README

        

# mise-en-place



Version
Version
License

> A collection of layout primitives for building Vue.js apps.

[![Edit mise-en-place-demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/mise-en-place-demo-72l3z?fontsize=14&hidenavigation=1&theme=dark&view=preview)

## Usage

### Directly in the browser

Drop the library in with a `` tag alongside Vue to globally install all components:

```html
<div id="app">
<layout>...</layout>
</div>

<script src="https://unpkg.com/vue">

new Vue({ el: "#app" });

```

Or, if you only want to use a small subset of components, drop them in individually:

```html



new Vue({ el: "#app" });

```

### In a module system

Install the library with NPM:

```bash
npm install mise-en-place
```

Then register the library as a plugin to globally install all components:

```js
import MiseEnPlace from "mise-en-place";

Vue.use(MiseEnPlace);
```

Or, import components individually for local registration:

```js
import { Layout } from "mise-en-place";

export default {
components: { Layout }
};
```

### TODO

- icon
- button
- link
- icon-button
- icon-link
- columns
- column
- fix grid
- grid-area (for named grid areas)
- divider