File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1313 <h2 >Use the requires prop to make libraries and packages available in the browser</h2 >
1414 <VueLive :code =" codeChicago" :layout =" CustomLayout" :requires =" chicagoRequires" />
1515 <h2 >Default Layout</h2 >
16- <VueLive :code =" `<input type='button' value='I am Groot'>`" />
17- <link href =" https://fonts.googleapis.com/css?family=Roboto+Mono" rel =" stylesheet" >
16+ <div style =" width :950px ; width :950px ; max-width :95vw ; margin :20px auto ;" >
17+ <VueLive :code =" `<input type='button' value='I am Groot'>`" />
18+ <link href =" https://fonts.googleapis.com/css?family=Roboto+Mono" rel =" stylesheet" >
19+ </div >
1820 </main >
1921</template >
2022<script >
2123import VueLive from " ../src/VueLive" ;
2224import CustomLayout from " ./CustomLayout" ;
2325import DatePicker from " vuejs-datepicker" ;
24- // eslint-disable-next-line import/no-webpack-loader-syntax
2526import codeSfc from " !!raw-loader!./assets/Button.vue" ;
2627import codeJs from " !!raw-loader!./assets/input.js" ;
2728import codeTemplate from " !!raw-loader!./assets/PureTemplate.html" ;
Original file line number Diff line number Diff line change 11<template functional>
2- <div
3- class =" vue-live-container"
4- style =" display :flex ; width :950px ; max-width :95vw ; margin :20px auto ;"
5- >
2+ <div class =" vue-live-container" style =" display :flex ; " >
63 <div style =" width :50% ;" >
74 <slot name =" editor" ></slot >
85 </div >
9- <div style =" background-color :white ;width :50% ;padding : 20 px ; " >
6+ <div style =" background-color :white ;width :50% ;" >
107 <slot name =" preview" ></slot >
118 </div >
129 </div >
You can’t perform that action at this time.
0 commit comments