json laravel mix

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json laravel mix相关的知识,希望对你有一定的参考价值。

{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
        "watch": "npm run development -- --watch",
        "watch-poll": "npm run watch -- --watch-poll",
        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
        "prod": "npm run production",
        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    },
    "devDependencies": {
        "axios": "^0.18",
        "bootstrap": "^4.0.0",
        "cross-env": "^5.1",
        "jquery": "^3.2",
        "laravel-mix": "^4.0.7",
        "lodash": "^4.17.5",
        "popper.js": "^1.12",
        "resolve-url-loader": "^2.3.1",
        "sass": "^1.15.2",
        "sass-loader": "^7.1.0",
        "vue": "^2.5.17"
    }
}

以上是关于json laravel mix的主要内容,如果未能解决你的问题,请参考以下文章

Laravel 版本缓存与 Laravel Mix 不工作

Laravel Mix、TailwindCSS 和 PurgeCSS

laravel5.4的laravel-mix踩坑记

在 laravel 5.4 mix 上添加 jQuery

Laravel mix 的压缩插件

laravel-mix-purgecss 和 Summernote