# markdown-vue3-study **Repository Path**: pengchenggang/markdown-vue3-study ## Basic Information - **Project Name**: markdown-vue3-study - **Description**: vue3的CLI 搭建的架子 然后读取markdown的方案。 现有的方案是两种 1. import md文件 需要loader 2. axios.get 然后再渲染md - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-01-15 - **Last Updated**: 2022-03-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # markdown-vue3-study ``` npm i markdown-loader -D npm i html-loader -D vue.config.js module.exports = {  publicPath: './',  configureWebpack: { module: { rules: [{ test: /\.md$/, use: [ { loader: "html-loader" }, { loader: "markdown-loader", options: { /* your options here */ } } ] }] } } } ``` ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).