diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index 1940559..0000000 --- a/jsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "." - }, - "exclude": ["node_modules", "dist"] -} diff --git a/lib/components/GGanttChart.vue b/lib/components/GGanttChart.vue index 5213691..df2c1f0 100644 --- a/lib/components/GGanttChart.vue +++ b/lib/components/GGanttChart.vue @@ -1,47 +1,48 @@ - + diff --git a/vetur.config.js b/vetur.config.js new file mode 100644 index 0000000..20c36f5 --- /dev/null +++ b/vetur.config.js @@ -0,0 +1,8 @@ +// vetur.config.js +/** @type {import('vls').VeturConfig} */ +module.exports = { + settings: { + 'vetur.ignoreProjectWarning': true, + }, + projects: ['./'], +} diff --git a/vue.config.js b/vue.config.js index 7a6d7fe..20778fd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,7 +4,14 @@ const isBuildLib = module.exports = { publicPath: '', outputDir: isBuildLib ? 'dist' : 'demo', - css: { extract: true }, + css: { + loaderOptions: { + sass: { + implementation: require('sass') + } + }, + extract: true + }, productionSourceMap: false, chainWebpack: config => { if (process.env.VUE_CLI_BUILD_TARGET === 'lib') {