<scu-flex-h> <div>1</div> <scu-flex-fill>fill</scu-flex-fill> <div>3</div> </scu-flex-h>
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
flex |
flex |
number |
1 |
Built with StencilJS
<scu-flex-h> <div>1</div> <scu-flex-fill>fill</scu-flex-fill> <scu-flex-fill flex="2">fill 2</scu-flex-fill> </scu-flex-h>
<scu-flex-v> <div>1</div> <scu-flex-fill>fill</scu-flex-fill> <div>3</div> </scu-flex-v>
<scu-flex-v> <div>1</div> <scu-flex-fill>fill</scu-flex-fill> <scu-flex-fill flex="2">fill 2</scu-flex-fill> </scu-flex-v>
<script src="https://unpkg.com/scu-components-beta/dist/scu/scu.esm.js" type="module"></script>
<link href="https://unpkg.com/scu-components-beta/dist/scu/scu.css" rel="stylesheet">
<scu-button label='Submit' outline></scu-button>
npm install --save scu-components-beta
import Vue from 'vue'
import App from './App.vue'
import { applyPolyfills, defineCustomElements } from 'scu-components-beta/loader';
Vue.config.productionTip = false
// Tell Vue to ignore all components prefixed 'scu-'
Vue.config.ignoredElements = [/scu-\w*/];
// Bind the custom elements to the window object
applyPolyfills().then(() => {
defineCustomElements();
});
new Vue({
render: h => h(App),
}).$mount('#app')