Merge branch 'main' into teams
This commit is contained in:
10
README.md
10
README.md
@@ -548,6 +548,16 @@ Become a financial contributor and help us sustain our community [[Support](#sup
|
|||||||
|
|
||||||
#### GitHub Sponsors
|
#### GitHub Sponsors
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://simplescraper.io/?utm_source=hs" target="_blank" rel="noopener">
|
||||||
|
<img
|
||||||
|
width="100"
|
||||||
|
src="https://raw.githubusercontent.com/hoppscotch/hoppscotch/main/assets/images/Simplescraper.png"
|
||||||
|
alt="Simplescraper"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/eldadfux" target="_blank" rel="noopener">
|
<a href="https://github.com/eldadfux" target="_blank" rel="noopener">
|
||||||
<img
|
<img
|
||||||
|
|||||||
BIN
assets/images/Simplescraper.png
Normal file
BIN
assets/images/Simplescraper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
BIN
assets/images/Simplescraper_dark.png
Normal file
BIN
assets/images/Simplescraper_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
@@ -116,6 +116,15 @@
|
|||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="contributors">
|
||||||
|
<a href="https://simplescraper.io/?utm_source=hs" target="_blank" rel="noopener">
|
||||||
|
<img
|
||||||
|
style="max-height: 50px"
|
||||||
|
src="~assets/images/Simplescraper_dark.png"
|
||||||
|
alt="Simplescraper"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<div class="contributors">
|
<div class="contributors">
|
||||||
<a href="https://tyk.io?ref=hoppscotch" target="_blank" rel="noopener">
|
<a href="https://tyk.io?ref=hoppscotch" target="_blank" rel="noopener">
|
||||||
<img
|
<img
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
<a class="footer-link" href="https://www.netlify.com" target="_blank" rel="noopener">
|
<a class="footer-link" href="https://www.netlify.com" target="_blank" rel="noopener">
|
||||||
Powered by Netlify
|
Powered by Netlify
|
||||||
</a>
|
</a>
|
||||||
<span class="footer-link"> Sponsored by </span>
|
|
||||||
<span>
|
<span>
|
||||||
<a
|
<a
|
||||||
class="footer-link"
|
class="footer-link"
|
||||||
@@ -15,9 +14,6 @@
|
|||||||
>
|
>
|
||||||
OSS Capital
|
OSS Capital
|
||||||
</a>
|
</a>
|
||||||
</span>
|
|
||||||
<span class="footer-link"> & </span>
|
|
||||||
<span>
|
|
||||||
<a
|
<a
|
||||||
class="footer-link"
|
class="footer-link"
|
||||||
href="https://paw.cloud/?utm_source=hoppscotch&utm_medium=website&utm_campaign=hoppscotch-sponsorship"
|
href="https://paw.cloud/?utm_source=hoppscotch&utm_medium=website&utm_campaign=hoppscotch-sponsorship"
|
||||||
@@ -26,6 +22,14 @@
|
|||||||
>
|
>
|
||||||
Paw
|
Paw
|
||||||
</a>
|
</a>
|
||||||
|
<a
|
||||||
|
class="footer-link"
|
||||||
|
href="https://simplescraper.io/?utm_source=hs"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>
|
||||||
|
Simplescraper
|
||||||
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<iframe
|
<iframe
|
||||||
src="https://ghbtns.com/github-btn.html?user=hoppscotch&type=sponsor"
|
src="https://ghbtns.com/github-btn.html?user=hoppscotch&type=sponsor"
|
||||||
@@ -70,6 +74,7 @@
|
|||||||
@apply my-2;
|
@apply my-2;
|
||||||
@apply mx-4;
|
@apply mx-4;
|
||||||
@apply text-fgLightColor;
|
@apply text-fgLightColor;
|
||||||
|
@apply text-sm;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@apply text-fgColor;
|
@apply text-fgColor;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="body" class="flex flex-col">
|
<div slot="body" class="flex flex-col">
|
||||||
<label for="requestType">{{ $t("request_type") }}</label>
|
<label for="requestType">{{ $t("choose_language") }}</label>
|
||||||
<span class="select-wrapper">
|
<span class="select-wrapper">
|
||||||
<v-popover>
|
<v-popover>
|
||||||
<pre v-if="requestType">{{ codegens.find((x) => x.id === requestType).name }}</pre>
|
<pre v-if="requestType">{{ codegens.find((x) => x.id === requestType).name }}</pre>
|
||||||
@@ -46,15 +46,22 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<textarea
|
<SmartAceEditor
|
||||||
id="generatedCode"
|
v-if="requestType"
|
||||||
|
:value="requestCode"
|
||||||
|
:lang="codegens.find((x) => x.id === requestType).language"
|
||||||
|
:options="{
|
||||||
|
maxLines: '10',
|
||||||
|
minLines: '10',
|
||||||
|
fontSize: '16px',
|
||||||
|
autoScrollEditorIntoView: true,
|
||||||
|
readOnly: true,
|
||||||
|
showPrintMargin: false,
|
||||||
|
useWorker: false,
|
||||||
|
}"
|
||||||
|
styles="rounded-b-lg"
|
||||||
ref="generatedCode"
|
ref="generatedCode"
|
||||||
name="generatedCode"
|
/>
|
||||||
rows="8"
|
|
||||||
v-model="requestCode"
|
|
||||||
readonly
|
|
||||||
class="rounded-b-lg"
|
|
||||||
></textarea>
|
|
||||||
</div>
|
</div>
|
||||||
</SmartModal>
|
</SmartModal>
|
||||||
</template>
|
</template>
|
||||||
@@ -66,7 +73,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
requestCode: String,
|
requestCode: String,
|
||||||
requestTypeProp: { type: String, default: "" },
|
requestTypeProp: { type: String, default: "curl" },
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -97,7 +104,8 @@ export default {
|
|||||||
this.$toast.success(this.$t("copied_to_clipboard"), {
|
this.$toast.success(this.$t("copied_to_clipboard"), {
|
||||||
icon: "done",
|
icon: "done",
|
||||||
})
|
})
|
||||||
this.$refs.generatedCode.select()
|
this.$refs.generatedCode.editor.selectAll()
|
||||||
|
this.$refs.generatedCode.editor.focus()
|
||||||
document.execCommand("copy")
|
document.execCommand("copy")
|
||||||
setTimeout(() => (this.$refs.copyRequestCode.innerHTML = this.copyButton), 1000)
|
setTimeout(() => (this.$refs.copyRequestCode.innerHTML = this.copyButton), 1000)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ import { ShellWgetCodegen } from "./generators/shell-wget"
|
|||||||
*
|
*
|
||||||
* id: string
|
* id: string
|
||||||
* name: string
|
* name: string
|
||||||
|
* language: string // a string identifier used in ace editor for syntax highlighting
|
||||||
|
* // see node_modules/ace-builds/src-noconflict/mode-** files for valid value
|
||||||
* generator: (ctx) => string
|
* generator: (ctx) => string
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const CLibcurlCodegen = {
|
export const CLibcurlCodegen = {
|
||||||
id: "c-libcurl",
|
id: "c-libcurl",
|
||||||
name: "C libcurl",
|
name: "C libcurl",
|
||||||
|
language: "c_cpp",
|
||||||
generator: ({
|
generator: ({
|
||||||
auth,
|
auth,
|
||||||
httpUser,
|
httpUser,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const CsRestsharpCodegen = {
|
export const CsRestsharpCodegen = {
|
||||||
id: "cs-restsharp",
|
id: "cs-restsharp",
|
||||||
name: "C# RestSharp",
|
name: "C# RestSharp",
|
||||||
|
language: "csharp",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const CurlCodegen = {
|
export const CurlCodegen = {
|
||||||
id: "curl",
|
id: "curl",
|
||||||
name: "cURL",
|
name: "cURL",
|
||||||
|
language: "sh",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const GoNativeCodegen = {
|
export const GoNativeCodegen = {
|
||||||
id: "go-native",
|
id: "go-native",
|
||||||
name: "Go Native",
|
name: "Go Native",
|
||||||
|
language: "golang",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const JavaOkhttpCodegen = {
|
export const JavaOkhttpCodegen = {
|
||||||
id: "java-okhttp",
|
id: "java-okhttp",
|
||||||
name: "Java OkHttp",
|
name: "Java OkHttp",
|
||||||
|
language: "java",
|
||||||
generator: ({
|
generator: ({
|
||||||
auth,
|
auth,
|
||||||
httpUser,
|
httpUser,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const JavaUnirestCodegen = {
|
export const JavaUnirestCodegen = {
|
||||||
id: "java-unirest",
|
id: "java-unirest",
|
||||||
name: "Java Unirest",
|
name: "Java Unirest",
|
||||||
|
language: "java",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const JavascriptFetchCodegen = {
|
export const JavascriptFetchCodegen = {
|
||||||
id: "js-fetch",
|
id: "js-fetch",
|
||||||
name: "JavaScript Fetch",
|
name: "JavaScript Fetch",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const JavascriptJqueryCodegen = {
|
export const JavascriptJqueryCodegen = {
|
||||||
id: "js-jquery",
|
id: "js-jquery",
|
||||||
name: "JavaScript jQuery",
|
name: "JavaScript jQuery",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const JavascriptXhrCodegen = {
|
export const JavascriptXhrCodegen = {
|
||||||
id: "js-xhr",
|
id: "js-xhr",
|
||||||
name: "JavaScript XHR",
|
name: "JavaScript XHR",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
auth,
|
auth,
|
||||||
httpUser,
|
httpUser,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const NodejsAxiosCodegen = {
|
export const NodejsAxiosCodegen = {
|
||||||
id: "nodejs-axios",
|
id: "nodejs-axios",
|
||||||
name: "NodeJs Axios",
|
name: "NodeJs Axios",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const NodejsNativeCodegen = {
|
export const NodejsNativeCodegen = {
|
||||||
id: "nodejs-native",
|
id: "nodejs-native",
|
||||||
name: "NodeJs Native",
|
name: "NodeJs Native",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const NodejsRequestCodegen = {
|
export const NodejsRequestCodegen = {
|
||||||
id: "nodejs-request",
|
id: "nodejs-request",
|
||||||
name: "NodeJs Request",
|
name: "NodeJs Request",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const NodejsUnirestCodegen = {
|
export const NodejsUnirestCodegen = {
|
||||||
id: "nodejs-unirest",
|
id: "nodejs-unirest",
|
||||||
name: "NodeJs Unirest",
|
name: "NodeJs Unirest",
|
||||||
|
language: "javascript",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { isJSONContentType } from "~/helpers/utils/contenttypes"
|
|||||||
export const PhpCurlCodegen = {
|
export const PhpCurlCodegen = {
|
||||||
id: "php-curl",
|
id: "php-curl",
|
||||||
name: "PHP cURL",
|
name: "PHP cURL",
|
||||||
|
language: "php",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const PowershellRestmethodCodegen = {
|
export const PowershellRestmethodCodegen = {
|
||||||
id: "powershell-restmethod",
|
id: "powershell-restmethod",
|
||||||
name: "PowerShell RestMethod",
|
name: "PowerShell RestMethod",
|
||||||
|
language: "powershell",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ const printHeaders = (headers) => {
|
|||||||
export const PythonHttpClientCodegen = {
|
export const PythonHttpClientCodegen = {
|
||||||
id: "python-http-client",
|
id: "python-http-client",
|
||||||
name: "Python http.client",
|
name: "Python http.client",
|
||||||
|
language: "python",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ const printHeaders = (headers) => {
|
|||||||
export const PythonRequestsCodegen = {
|
export const PythonRequestsCodegen = {
|
||||||
id: "python-requests",
|
id: "python-requests",
|
||||||
name: "Python Requests",
|
name: "Python Requests",
|
||||||
|
language: "python",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const RubyNetHttpCodeGen = {
|
export const RubyNetHttpCodeGen = {
|
||||||
id: "ruby-net-http",
|
id: "ruby-net-http",
|
||||||
name: "Ruby Net::HTTP",
|
name: "Ruby Net::HTTP",
|
||||||
|
language: "ruby",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const SalesforceApexCodegen = {
|
export const SalesforceApexCodegen = {
|
||||||
id: "salesforce-apex",
|
id: "salesforce-apex",
|
||||||
name: "Salesforce Apex",
|
name: "Salesforce Apex",
|
||||||
|
language: "apex",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const ShellHttpieCodegen = {
|
export const ShellHttpieCodegen = {
|
||||||
id: "shell-httpie",
|
id: "shell-httpie",
|
||||||
name: "Shell HTTPie",
|
name: "Shell HTTPie",
|
||||||
|
language: "sh",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
export const ShellWgetCodegen = {
|
export const ShellWgetCodegen = {
|
||||||
id: "shell-wget",
|
id: "shell-wget",
|
||||||
name: "Shell wget",
|
name: "Shell wget",
|
||||||
|
language: "sh",
|
||||||
generator: ({
|
generator: ({
|
||||||
url,
|
url,
|
||||||
pathName,
|
pathName,
|
||||||
|
|||||||
@@ -203,7 +203,6 @@ export default {
|
|||||||
|
|
||||||
// TailwindCSS module configuration (https://github.com/nuxt-community/tailwindcss-module)
|
// TailwindCSS module configuration (https://github.com/nuxt-community/tailwindcss-module)
|
||||||
tailwindcss: {
|
tailwindcss: {
|
||||||
jit: true,
|
|
||||||
viewer: false,
|
viewer: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
11821
package-lock.json
generated
11821
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
@@ -27,19 +27,19 @@
|
|||||||
"@nuxtjs/sitemap": "^2.4.0",
|
"@nuxtjs/sitemap": "^2.4.0",
|
||||||
"@nuxtjs/toast": "^3.3.1",
|
"@nuxtjs/toast": "^3.3.1",
|
||||||
"ace-builds": "^1.4.12",
|
"ace-builds": "^1.4.12",
|
||||||
"acorn": "^8.2.1",
|
"acorn": "^8.2.4",
|
||||||
"acorn-walk": "^8.1.0",
|
"acorn-walk": "^8.1.0",
|
||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
"firebase": "^8.4.2",
|
"firebase": "^8.5.0",
|
||||||
"graphql": "^15.5.0",
|
"graphql": "^15.5.0",
|
||||||
"graphql-language-service-interface": "^2.8.3",
|
"graphql-language-service-interface": "^2.8.3",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
"mustache": "^4.2.0",
|
"mustache": "^4.2.0",
|
||||||
"nuxt": "^2.15.4",
|
"nuxt": "^2.15.5",
|
||||||
"nuxt-i18n": "^6.26.0",
|
"nuxt-i18n": "^6.27.0",
|
||||||
"paho-mqtt": "^1.1.0",
|
"paho-mqtt": "^1.1.0",
|
||||||
"rxjs": "^6.6.7",
|
"rxjs": "^7.0.0",
|
||||||
"socket.io-client": "^4.0.1",
|
"socket.io-client": "^4.0.2",
|
||||||
"socketio-wildcard": "^2.0.0",
|
"socketio-wildcard": "^2.0.0",
|
||||||
"tern": "^0.24.3",
|
"tern": "^0.24.3",
|
||||||
"v-tooltip": "^2.1.3",
|
"v-tooltip": "^2.1.3",
|
||||||
@@ -51,35 +51,32 @@
|
|||||||
"yargs-parser": "^20.2.7"
|
"yargs-parser": "^20.2.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.13.16",
|
"@babel/core": "^7.14.0",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
|
||||||
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
|
||||||
"@babel/preset-env": "^7.13.15",
|
"@babel/preset-env": "^7.13.15",
|
||||||
"@nuxt/types": "^2.15.4",
|
"@nuxt/types": "^2.15.5",
|
||||||
"@nuxt/typescript-build": "^2.1.0",
|
"@nuxt/typescript-build": "^2.1.0",
|
||||||
"@nuxtjs/color-mode": "^2.0.5",
|
"@nuxtjs/color-mode": "^2.0.5",
|
||||||
"@nuxtjs/google-analytics": "^2.4.0",
|
"@nuxtjs/google-analytics": "^2.4.0",
|
||||||
"@nuxtjs/google-fonts": "^1.3.0",
|
"@nuxtjs/google-fonts": "^1.3.0",
|
||||||
"@nuxtjs/pwa": "^3.3.5",
|
"@nuxtjs/pwa": "^3.3.5",
|
||||||
"@nuxtjs/tailwindcss": "^4.0.3",
|
"@nuxtjs/tailwindcss": "^4.1.1",
|
||||||
"@testing-library/jest-dom": "^5.12.0",
|
"@testing-library/jest-dom": "^5.12.0",
|
||||||
"@types/lodash": "^4.14.168",
|
"@types/lodash": "^4.14.168",
|
||||||
"@vue/test-utils": "^1.1.4",
|
"@vue/test-utils": "^1.2.0",
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
"babel-core": "^7.0.0-bridge.0",
|
||||||
"babel-jest": "^26.6.3",
|
"babel-jest": "^26.6.3",
|
||||||
"eslint": "^7.25.0",
|
"eslint": "^7.26.0",
|
||||||
"eslint-plugin-vue": "^7.9.0",
|
"eslint-plugin-vue": "^7.9.0",
|
||||||
"husky": "^6.0.0",
|
"husky": "^6.0.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"jest-serializer-vue": "^2.0.2",
|
"jest-serializer-vue": "^2.0.2",
|
||||||
"postcss": "^8.2.12",
|
"postcss": "^8.2.14",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"pretty-quick": "^3.1.0",
|
"pretty-quick": "^3.1.0",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"sass": "^1.32.11",
|
"sass": "^1.32.12",
|
||||||
"sass-loader": "^10.1.1",
|
"sass-loader": "^10.1.1",
|
||||||
"ts-jest": "^26.5.5",
|
"ts-jest": "^26.5.6",
|
||||||
"vue-jest": "^3.0.7",
|
"vue-jest": "^3.0.7",
|
||||||
"worker-loader": "^3.0.8"
|
"worker-loader": "^3.0.8"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export default () => ({
|
|||||||
bodyParams: [],
|
bodyParams: [],
|
||||||
rawParams: "",
|
rawParams: "",
|
||||||
rawInput: false,
|
rawInput: false,
|
||||||
requestType: "",
|
requestType: "curl",
|
||||||
contentType: "",
|
contentType: "",
|
||||||
},
|
},
|
||||||
gql: {
|
gql: {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import colors from "tailwindcss/colors"
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
dark: "class",
|
dark: "class",
|
||||||
|
mode: "jit",
|
||||||
corePlugins: {
|
corePlugins: {
|
||||||
float: false,
|
float: false,
|
||||||
clear: false,
|
clear: false,
|
||||||
@@ -49,13 +50,11 @@ export default {
|
|||||||
},
|
},
|
||||||
variants: {},
|
variants: {},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
purge: {
|
purge: [
|
||||||
content: [
|
"components/**/*.vue",
|
||||||
"components/**/*.vue",
|
"layouts/**/*.vue",
|
||||||
"layouts/**/*.vue",
|
"pages/**/*.vue",
|
||||||
"pages/**/*.vue",
|
"plugins/**/*.js",
|
||||||
"plugins/**/*.js",
|
"nuxt.config.js",
|
||||||
"nuxt.config.js",
|
],
|
||||||
],
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user