oguilleux / webpack-gulp-wordpress-starter-theme Goto Github PK
View Code? Open in Web Editor NEWA WordPress theme with Webpack & Gulp
A WordPress theme with Webpack & Gulp
Currently, there's no script for running eslint with "--fix" option. If you install eslint globally, and run eslint . --fix
, you will encounter 5k+ errors to be fixed, since it does not omit gulp
folders and some others. There're also no easy ways to implement it by yourself, since current build pipes js files to preconfigured webpack.
It'd be very useful since, for instance, I often forget to place single quotes instead of double ones, or missing commas.
And thank you for the job that is already done. It's not far from being a separate framework! Best of luck.
Need reload php files after save, sample:
watch('*.php', browserSync.reload);
watch('template-parts/*.php', browserSync.reload);
watch('inc/*.php', browserSync.reload);
Hi,
I've uncommented out in gulpfile:
'browser:sync'
then I run npm run start, proxy URL is available, but if I go to the browser, the Browsersync shows me an information about pasting thecode snippet before the </body>
tag. So I've done that, but after refreshing the page, message from Browsersync still occurs. What I'm doing incorrectly?
Thank you for the Gulp theme! Getting an error when trying to run npm install
npm 6.13.4
node v12.16.1
Error: Not supported
at eval (eval at <anonymous> (..../node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:10:15), <anonymous>:1:1)
at requireOrImport (..../node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:24:7)
at execute (..../node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:37:3)
at Liftoff.handleArguments (..../node_modules/gulp/node_modules/gulp-cli/index.js:211:24)
at Liftoff.execute (..../node_modules/liftoff/index.js:201:12)
at module.exports (..../node_modules/flagged-respawn/index.js:51:3)
at Liftoff.<anonymous> (..../node_modules/liftoff/index.js:191:5)
at ..../node_modules/liftoff/index.js:149:9
at ..../node_modules/v8flags/index.js:162:14
at ..../node_modules/v8flags/index.js:41:14
Any ideas what could be wrong here? Likely seems likely a versioning issue with some package but no idea currently how approach with this error. Any advice?
Hello,
First of all, thanks for the simple and efficient theme !
I managed to activate BrowserSync in an environment with Laragon by modifying the file /gulp/core/config/browser-sync.js
but it does not refresh the browser when modifying a PHP file.
Is there an easy way to do it ?
Describe the bug
When using single quotes for notifier messages the terminal gives an error Unexpected token { in JSON at position 129
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No erros on a clean clone of the repo on startup
Screenshots
n.a.
Additional context
I think this could be solved by using double quotes.
Hi, thank you for the amazing build.
I have a question on js files. I am new to coding with a basic knowledge.
Thanks and apologies for these trivial queries.
Paul
Describe the bug
When using the latest version of this repo on my m1 mac my svg's inside the sprites folders should have their fill attributes removed but they are not. When setting gulpsvgmin back to 3.0.0 everything works fine. What could be the cause of this?
I'm using node 16.13.1, but I also tested on v14 and v15.
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.