fast-vue-multi-pages 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/vue/FastPages.js +2 -2
package/package.json
CHANGED
package/vue/FastPages.js
CHANGED
@@ -136,9 +136,9 @@ export default defineComponent({
|
|
136
136
|
else {
|
137
137
|
options = new FastBuildOption_1.FastBuildOption();
|
138
138
|
}
|
139
|
-
let baseDir = path.join(dirName, "
|
139
|
+
let baseDir = path.join(dirName, "src", "__pages_auto", "index");
|
140
140
|
if (!fs.existsSync(baseDir)) {
|
141
|
-
fs.mkdirSync(baseDir);
|
141
|
+
fs.mkdirSync(baseDir, { recursive: true });
|
142
142
|
}
|
143
143
|
let indexJsContent = "import {createApp} from \"vue\";\n";
|
144
144
|
indexJsContent += "import main from \"./main\";\n";
|