-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove preconfigured plugins (#83)
* chore: remove preconfigured plugins * chore: add changeset * chore: move types into dev deps * chore: add changeset * chore: format package json files
- Loading branch information
Showing
57 changed files
with
319 additions
and
1,181 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'magefront-plugin-stylus': minor | ||
'magefront-plugin-babel': minor | ||
'magefront-plugin-less': minor | ||
--- | ||
|
||
Move 3rd party types into dev deps |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'magefront-preset-default': minor | ||
--- | ||
|
||
Remove pre-configured 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,2 +1,4 @@ | ||
package.json | ||
node_modules | ||
docs | ||
pnpm-lock.yaml | ||
.github |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Tailwind CSS | ||
|
||
The following example uses [Tailwind CSS](https://tailwindcss.com/) to generate a CSS file. | ||
|
||
Install these packages, and initialize Tailwind CSS configuration: | ||
|
||
```sh | ||
npm i magefront-plugin-postcss tailwindcss autoprefixer --save-dev | ||
npx tailwindcss init -p | ||
``` | ||
|
||
Add the following to your `magefront.config.js` file: | ||
|
||
```js | ||
// magefront.config.js | ||
import postcss from 'magefront-plugin-postcss' | ||
import tailwindcss from 'tailwindcss' | ||
|
||
export default { | ||
plugins: [ | ||
postcss({ | ||
src: 'tailwind.postcss', | ||
dest: 'tailwind.css', | ||
plugins: [tailwindcss()] | ||
}) | ||
] | ||
} | ||
``` | ||
|
||
Add the following to your `tailwind.postcss` file: | ||
|
||
```css | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
``` | ||
|
||
Add the paths to all your templates in your `tailwind.config.js` file: | ||
|
||
```js | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ['./**/*.{html,phtml}'] | ||
}; | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.