-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d403ae
commit 6f196e0
Showing
8 changed files
with
26 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
theme: {}, | ||
variants: {}, | ||
plugins: [], | ||
} | ||
theme: {}, | ||
variants: {}, | ||
plugins: [] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
const mix = require("laravel-mix"); | ||
const path = require('path') | ||
const tailwindcss = require("tailwindcss"); | ||
require("@phased/phase/mix"); // generates phase/phase/routing | ||
require('laravel-mix-purgecss'); | ||
require('@phased/phase') | ||
|
||
mix | ||
.webpackConfig({ | ||
resolve: { | ||
// aliases '@' to the base js folder to avoid | ||
// annoying relative imports '../../../../SomeFile.vue' | ||
alias: { "@": path.resolve(__dirname, "resources", "js") } | ||
} | ||
// aliases '@' to the base js folder | ||
resolve: { alias: { "@": path.resolve(__dirname, "resources", "js") } } | ||
}) | ||
|
||
// Setup TailwindCss | ||
.options({ | ||
processCssUrls: false, | ||
postCss: [tailwindcss("./tailwind.config.js")] | ||
}) | ||
|
||
// Remove unused css in production | ||
.purgeCss() | ||
|
||
// Generate Phase Routes | ||
.phase(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.