This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new documentation, lots of small improvements
- Loading branch information
1 parent
9f06d53
commit 65982fd
Showing
420 changed files
with
9,357 additions
and
4,599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## Environment Variables used during the Build Process | ||
|
||
- `NODE_ENV` is required to be set | ||
- `BASE_URL` must be used to set the base url | ||
- If `FDD_PRERENDER` is set to `true` then a special Webpack configuration is used that will generate a static version of the documentation. | ||
- If `FDD_PRERENDER_TEST_RUN` is set to `true` then not all different routes are generated. There are a lot of routes and sometimes you only want to test if some routes still work. By setting this to `true` you tell the build process to only render a handful of pages per major route (`/api`, `/example`, `/examples`, …). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DATE;NO;SIZE | ||
2019-04-21;0;38.73 KiB | ||
2019-04-21;1;38.39 KiB | ||
2019-07-24;0;41.8 kB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,6 @@ | ||
const nodeEnv = process.env.NODE_ENV; | ||
const targetsNetlify = process.argv[4] === "--NETLIFY"; | ||
const mode = | ||
nodeEnv !== "production" ? "dev" : targetsNetlify ? "netlify" : "prod"; | ||
const appPresets = ["@vue/app"]; | ||
if (process.env.VUE_CLI_BUILD_TARGET === "app") { | ||
module.exports = { | ||
presets: ["@vue/app"] | ||
}; | ||
return; | ||
} | ||
|
||
const uiPresets = [ | ||
[ | ||
"@vue/app", | ||
{ | ||
useBuiltIns: false, | ||
polyfills: false, | ||
corejs: 2 | ||
} | ||
] | ||
]; | ||
|
||
const presets = mode === "prod" ? uiPresets : appPresets; | ||
/* eslint-env node */ | ||
|
||
module.exports = { | ||
presets, | ||
presets: ["@vue/app"], | ||
plugins: ["@babel/plugin-syntax-dynamic-import"] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* eslint-env node */ | ||
|
||
const presets = [ | ||
[ | ||
"@vue/app", | ||
{ | ||
useBuiltIns: false, | ||
polyfills: false, | ||
corejs: 2 | ||
} | ||
] | ||
]; | ||
|
||
module.exports = { | ||
presets, | ||
plugins: ["@babel/plugin-syntax-dynamic-import"] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* eslint-env node */ | ||
|
||
"use strict"; | ||
|
||
const loaderUtils = require("loader-utils"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* eslint-env node */ | ||
|
||
"use strict"; | ||
|
||
const contentWithoutBlock = (content, block) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"compilerOptions": { | ||
"noEmit": true, | ||
"allowJs": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"resolveJsonModule": true, | ||
"target": "es5", | ||
"module": "esnext", | ||
"strict": false, | ||
"jsx": "preserve", | ||
"importHelpers": false, | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"allowSyntheticDefaultImports": true, | ||
"sourceMap": true, | ||
"baseUrl": ".", | ||
"types": [ | ||
"node", | ||
"jest" | ||
], | ||
"lib": [ | ||
"esnext", | ||
"dom", | ||
"dom.iterable", | ||
"scripthost" | ||
] | ||
}, | ||
"include": [ | ||
"*.js" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* eslint-env node */ | ||
/* eslint-disable no-console */ | ||
"use strict"; | ||
|
||
const parseResultFromSfc = require("./../src/tools/parse-result-from-sfc"); | ||
|
||
module.exports = function(source, map) { | ||
let parseResult = {}; | ||
try { | ||
parseResult = parseResultFromSfc(source); | ||
} catch (error) { | ||
console.error("failed to parse sfc"); | ||
console.groupCollapsed(); | ||
console.log("source:", source); | ||
console.groupEnd(); | ||
console.groupCollapsed(); | ||
console.error(error); | ||
console.groupEnd(); | ||
} | ||
this.callback(null /* no error */, "export default " + JSON.stringify(parseResult) + ";", map); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.