npm install
npm run serve
npm run build
npm run lint
-
Run
npm run serve
to start the project. View existing works. -
Copy
src/views/AATemplate.vue
and rename the copy. -
Write your html inside the
Example
tag. For example:<Example> <div class="demo"> <span>demo content</span> </div> </Example>
-
Write your css inside the
style
tag. 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
script
tag:const docHtml = "{{html}}"; const docCss = "{{css}}";
And don't touch
:html="html"
and:css="css"
in theExample
tag:<Example :html="html" :css="css">
-
Only one
Example
element is supported in a view file.