# lx-vue3-to-fc **Repository Path**: qinsJs/demo_vue3_to_fc ## Basic Information - **Project Name**: lx-vue3-to-fc - **Description**: Vue3 部署到 Fc 测试 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-17 - **Last Updated**: 2023-04-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # demo-midway-fc-vue [http://vue.demo.q123q.cc/about](http://vue.demo.q123q.cc/about) ```js // vue.config.js module.exports = { assetsDir: "static", }; ``` `f.yaml` ```yaml deployType: type: static config: rootDir: dist ## 托管目录变为 dist notFoundUrl: /index.html # 404 页面 rewrite: - "/(.*)": /index.html - "@not /static/(.*)": /index.html ``` 实测 ,`notFoundUrl` 和 `rewrite` 一个都不能少。 但是效果很不好,多次请求,会 404 。。。 能用,效果不行。 但是能用就很好了。