@tuax-ssr/plugin-build-tuax
v0.0.7
Published
tuax 的 vue 直出插件
Downloads
14
Readme
@tuax-ssr/plugin-build-tuax
TODO: description
Usage
// .tuarc
const ssrPlugin = require('@tuax-ssr/plugin-build-tuax')
module.exports = {
/**
* 服务端页面打包入口,新页面如果需要服务端渲染,需在下面数组内添加页面文件夹名称;如果不需要用直出服务,请直接删掉下面这行配置
*/
pages: ssrPlugin.pages.bind(null, ['example', 'example-no-router']),
// ...
plugins: [
require('@tuax/plugin-vue'),
require('@tuax/plugin-css-preprocessor'),
require('@tuax/plugin-imgmin'),
require('@tuax/plugin-profile'),
ssrPlugin
],
}
// TODO: DEMONSTRATE API