<scu-member-profile name="Joseph Harris" subtitle="member since 1933" profile_pic="https://images.pexels.com/photos/2406949/pexels-photo-2406949.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260"> </scu-member-profile>
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
name |
name |
string |
"!No Label Sent!" |
|
profile_pic |
profile_pic |
string |
"" |
|
subtitle |
subtitle |
string |
"!No Label Sent!" |
Built with StencilJS
<scu-member-profile name="Joseph Harrisssonionianopolis" subtitle="member since 1933 and the dawn of the new age" profile_pic="https://images.pexels.com/photos/2406949/pexels-photo-2406949.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260"> </scu-member-profile>
<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>
brew install node
npm install --global http-server
http-server
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')