npm install
npm run serve
npm run build
npm run lint
-
Run
npm run serveto start the project. View existing works. -
Copy
src/views/AATemplate.vueand rename the copy. -
Write your html inside the
Exampletag. For example:<Example> <div class="demo"> <span>demo content</span> </div> </Example>
-
Write your css inside the
styletag. For example:<style scoped> .demo { color: red; } </style>
-
If you want your html and css appear in the docs, don't touch these two lines of code inside the
scripttag:const docHtml = "{{html}}"; const docCss = "{{css}}";
And don't touch
:html="html"and:css="css"in theExampletag:<Example :html="html" :css="css">
-
Only one
Exampleelement is supported in a view file.