Add Laravel Mix and Tailwind
This commit is contained in:
parent
ff6f6c80cd
commit
f26a8af215
5 changed files with 47 additions and 0 deletions
15
wp-content/themes/wp-tailwind/package.json
Normal file
15
wp-content/themes/wp-tailwind/package.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"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",
|
||||
"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": {
|
||||
"cross-env": "^5.2.0",
|
||||
"laravel-mix": "^4.0.14",
|
||||
"tailwindcss": "https://github.com/tailwindcss/tailwindcss.git#next"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue