adamwathan / laravel-preset Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I'm not extremely new to Laravel (read: I just finish Jeffrey's 100-episode forum series) but I have no idea how to install this. Maybe I'm missing something but I don't see installation instructions...
And before you shout at me, yes I have tried googling and nothing came up.
Sorry if this isn't the right place.
Hi!
Why would my @import not compile?
@tailwind preflight;
@import "components/navigation.css";
@tailwind utilities;
/* Add utilities here... */
and my mix file:
let mix = require('laravel-mix')
require('laravel-mix-purgecss')
mix.js('resources/assets/js/app.js', 'public/js').version()
.postCss('resources/assets/css/app.css', 'public/css')
.options({
postCss: [
require('postcss-import')(),
require('tailwindcss')('./tailwind.js'),
require('postcss-cssnext')({
// Mix adds autoprefixer already, don't need to run it twice
features: { autoprefixer: false }
}),
]
})
.purgeCss()
Not getting any errors.
Thanks in advance!
Hi @adamwathan I'm thinking this project is not a priority anymore and people should rather be pointed to https://github.com/laravel-frontend-presets/tailwindcss instead?
I'm just starting a new project and of course I'd rather use your presets, but it seems the other project is much more up to date.
Hello Adam, thank you for this preset.
Adding the compiled assets to .gitignore makes the deployment with a forge setup impossible, unless the assets get compiled during deployment.
I have seen this git-ignoring in @JeffreyWay council repository too.
Do you guys compile the assets during the deployment process or how do you handle this issue?
Thank you.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for adamwathan/laravel-preset dev-master -> satisfiable by adamwathan/laravel-preset[dev-master].
- Conclusion: remove laravel/framework v6.0.3
- Conclusion: don't install laravel/framework v6.0.3
- adamwathan/laravel-preset dev-master requires laravel/framework ^5.7 -> satisfiable by laravel/framework[5.7.x-dev, 5.8.x-dev].
- Can only install one of: laravel/framework[5.7.x-dev, v6.0.3].
- Can only install one of: laravel/framework[5.8.x-dev, v6.0.3].
- Installation request for laravel/framework (locked at v6.0.3, required as ^6.0) -> satisfiable by laravel/framework[v6.0.3].
npm ERR! Unexpected end of JSON input while parsing near '...St85\nDBdOKM4Nh6qx/5q'
Hi Guys,
I've initialised tailwind using tailwind init and the config is generated in my root, but my custom colors are not being compiled, am I missing a step?
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.