Configuring mix and instlling vue.js version 3

This commit is contained in:
kplaczek
2022-01-06 11:57:50 +01:00
parent 60f2374fc7
commit 6a51bd0a85
6 changed files with 26734 additions and 28 deletions

6998
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -10,9 +10,25 @@
"production": "mix --production"
},
"devDependencies": {
"@vue/compiler-sfc": "^3.2.26",
"axios": "^0.21",
"laravel-mix": "^6.0.6",
"laravel-mix": "^6.0.39",
"lodash": "^4.17.19",
"postcss": "^8.1.14"
}
"postcss": "^8.1.14",
"vue-loader": "^16.8.3"
},
"name": "bgg_instant",
"description": "This is a repository for a website that is the Vue.js Interface for a BoardGameGeek website.",
"version": "1.0.0",
"main": "webpack.mix.js",
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "https://git.techtube.pl/krzysiej/bgg_instant.git"
},
"keywords": [],
"author": "",
"license": "ISC"
}

1
public/css/app.css vendored Normal file
View File

@@ -0,0 +1 @@

19694
public/js/app.js vendored Normal file

File diff suppressed because it is too large Load Diff

4
public/mix-manifest.json Normal file
View File

@@ -0,0 +1,4 @@
{
"/js/app.js": "/js/app.js",
"/css/app.css": "/css/app.css"
}

17
webpack.mix.js vendored
View File

@@ -1,17 +1,10 @@
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/js/app.js', 'public/js')
mix.js('resources/js/app.js', 'public/js').vue({ version: 3})
.postCss('resources/css/app.css', 'public/css', [
//
]);
if (mix.inProduction()) {
mix.version();
}