Skip to content

Commit

Permalink
Merge branch 'v2' of https://github.com/jdf2e/nutui into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Franslee committed Jan 25, 2019
2 parents 551dda4 + 0a08951 commit cfa1122
Show file tree
Hide file tree
Showing 10 changed files with 1,461 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/mdToVue.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function createdFile(output, sorce, ishasCode) {
var bufs = `<template><div @click="dsCode">
<div v-if="content" class="layer">
<pre><span class="close-box" @click="closelayer"></span><div v-html="content"></div></pre>
</div>`+ res + `</div></template><script>import root from '../root.js';
</div>`+ res + `<nut-backtop></nut-backtop></div></template><script>import root from '../root.js';
export default {
mixins:[root]
}</script>`;
Expand Down
5 changes: 3 additions & 2 deletions sites/doc/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import Vue from 'vue'
import App from './App.vue'
import router from './router';
import copy from 'clipboard';


import backtop from './compents/backtop/backtop.js';
import './compents/backtop/backtop.css';
backtop.install(Vue);
import 'highlight.js/styles/github.css';


Expand Down
29 changes: 29 additions & 0 deletions sites/doc/compents/backtop/backtop.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions sites/doc/compents/backtop/backtop.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cfa1122

Please sign in to comment.