@@ -0,0 +1,21 @@
+.DS_Store
+node_modules
+/dist
+
+# local env files
+.env.local
+.env.*.local
+# Log files
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw*
@@ -0,0 +1,24 @@
+module.exports = {
+ outputDir: 'static',
+ css: {
+ loaderOptions: {
+ sass: {
+ data: `@import "@/sass/_variables.scss";` //加载全局scss文件
+ }
+ },
+ productionSourceMap:false,
+ runtimeCompiler: true, //开启运行时模版编译,否则不可使用动态模版
+ devServer: {
+ proxy: {
+ '/': {
+ // target: 'http://localhost:8085',
+ target: 'http://119.23.22.31:30962',
+ // target: 'http://119.23.22.31:31588',
+ autoRewrite: true,
+ ws: false
+ port: 3000
+}