mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
lint
This commit is contained in:
+21
-10
@@ -1,13 +1,14 @@
|
||||
import { defineNuxtConfig } from "nuxt";
|
||||
import { defineNuxtConfig } from 'nuxt'
|
||||
import { fileURLToPath, URL } from 'url'
|
||||
|
||||
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
||||
export default defineNuxtConfig({
|
||||
css: ["~/assets/styles/fonts.css"],
|
||||
css: ['~/assets/styles/fonts.css'],
|
||||
|
||||
modules: ["@nuxtjs/tailwindcss", "@nuxtjs/color-mode", "@nuxt/content"],
|
||||
modules: ['@nuxtjs/tailwindcss', '@nuxtjs/color-mode', '@nuxt/content'],
|
||||
|
||||
// https://color-mode.nuxtjs.org/
|
||||
colorMode: { classSuffix: "" },
|
||||
colorMode: { classSuffix: '' },
|
||||
|
||||
// https://content.nuxtjs.org/api/configuration
|
||||
content: {
|
||||
@@ -16,8 +17,8 @@ export default defineNuxtConfig({
|
||||
// https://content.nuxtjs.org/api/configuration/#highlighttheme
|
||||
highlight: {
|
||||
theme: {
|
||||
default: "one-dark-pro",
|
||||
dark: "github-dark",
|
||||
default: 'one-dark-pro',
|
||||
dark: 'github-dark',
|
||||
// sepia: "monokai",
|
||||
},
|
||||
},
|
||||
@@ -25,13 +26,23 @@ export default defineNuxtConfig({
|
||||
markdown: {
|
||||
remarkPlugins: {},
|
||||
rehypePlugins: {
|
||||
"rehype-autolink-headings": false,
|
||||
'rehype-autolink-headings': false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
'vue-select': fileURLToPath(
|
||||
new URL('../src/index.js', import.meta.url)
|
||||
),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
build: {
|
||||
extractCSS: true,
|
||||
transpile: ["@headlessui/vue"],
|
||||
// @see https://github.com/tailwindlabs/headlessui/discussions/1545#discussioncomment-2871517
|
||||
transpile: ['@headlessui/vue'],
|
||||
},
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user