naive-ui/demo/loaders/NaiveUIDocEntryLoader.js

6 lines
196 B
JavaScript
Raw Normal View History

2019-09-23 19:14:15 +08:00
const path = require('path')
const fs = require('fs')
const template = fs.readFileSync(path.join(__dirname, 'ComponentDocumentationEntryTemplate.vue')).toString()
module.exports = () => template