Skip to content

merijnponzo/devserverWordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devserverWordpress

Theme development with SCSS, font and file loaders. Hot reload for both javascript and scss files.

No browsersync but chokidar for watching php and twig files. And a simple script devserver.js to rewrite all links within your document to localhost.

cd wp-content/themes/ponzotheme

npm install

Use the test/index.html for testing/developing your scss design without wordpress

npm run test

Create a typeface from your svg icons

npm run icons

Start your wordpress theme development

npm run start

Build a dist folder in /app

npm run build

In app/lib/assets.php It's injecting the modules from localhost:9000

Upload your app folder in your production theme and you are ready to go

edit config.json with your local wordpress url, if you change the port number, change it in your app/lib/assets as well

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published