GithubHelp home page GithubHelp logo

suomato / base-camp Goto Github PK

View Code? Open in Web Editor NEW
143.0 12.0 23.0 5.54 MB

Awesome WordPress starter theme for developers based on modern web technologies.

Home Page: https://packagist.org/packages/suomato/base-camp

License: MIT License

PHP 43.23% HTML 31.65% JavaScript 9.90% CSS 14.37% Vue 0.85%
bulma webpack timber composer starter-theme wordpress

base-camp's People

Contributors

beatwiz avatar gio00 avatar jvmonjo avatar mlq avatar robertguss avatar suomato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

base-camp's Issues

WooCommerce Integration

Hi Toni,

I would like to thank you for building base-camp. I enjoy using this for my projects. Is there any chance you can add WooCommerce integration for this? I followed Timber's woocomerce guide, but I guess it only works in their repo.

Thanks again,
Annalyn

Assets within vue files not rendering the correct url

I'm not sure if i'm doing something wrong but when I reference an asset (for instance an image) inside a vue file with relative url (../../images/myImage.png), it renders to the root site url (example.com/images/myImage.png) and not to the root of my theme folder, where it actually is.

SourceMaps

Hello.

Awesome Boiler!
Any way to get source maps from the generated css?

Thanks,
Gilles

VueJS use-cases

Maybe it's me being a bit of a traditional WP developer. But what are the use-cases and best practices for using vuejs? How would you go about implementing it during theme building? I couldn't find anything about in the docs other than a bit of example code the main.js file.

Other than that, I'm very happy to have found this! I've checked out Sage 9, Tonik and lots of other starter themes, but base-camp is the best one so far!

Vuejs running in development mode after deploy

After running yarn prod you would expect Vuejs to minimize and delete comments and logs.

What we are currently seeing is a log warning as that we are running Vue in development mode

Build for production

Hi! Thanks for the terrific theme!

Can I get any how-to on building the website for production? What kind of variables, etc. should I change or any commands should I run?

Purge CSS and WordPress Generated Classes

Hi, sorry if this is'nt the right place, i'm having an issues where by including wp generated classes into the sass files are removed by purge css. It also appears that purge css is set to run on the complied 'app.css' file within resources so their is no clear way to whitelist these classes. Is this the case or have I misunderstood how purge is working and is there a workaround for it?

Thanks

Security Function creates double pageload in admin area

Hey there. Using your boiler base quite intensively for a while now.
I'll maybe create a fork with all the tweaks I did to it.

One thing that I think is important for this repo:
The Line in config/wp/security.php creates a double pageload in the admin-area. It happens, that the page first loads, and then loads again. I just recognised this cause I was doing performance-optimizations.

add_filter('style_loader_src', 'base_camp_remove_query_string_version', 9999);

screenshot 2018-10-17 at 16 12 56

Refresh css styles without page reload

Hey,

Loving the base-camp starter theme, have used parts of the stack before, but not all at once, so its nice to have it all combined.

Do you know any way to configure webpack/browsersync so that css styles will inject without a page refresh?

From what I understand, browsersync should just inject the new css, but because the js gets rebuilt, even on just a css change, the new js file triggers the reload.

Cheers

Error when deploying the site remotely

HI there, It is my first to to use base-camp for my development and I am currently uploaded the site for review but I get this error:

Warning: require(/var/www/html/wp-content/themes/jennifer/vendor/composer/../../app/helpers.php): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/jennifer/vendor/composer/autoload_real.php on line 66

Fatal error: require(): Failed opening required '/var/www/html/wp-content/themes/jennifer/vendor/composer/../../app/helpers.php' (include_path='.:/usr/share/php') in /var/www/html/wp-content/themes/jennifer/vendor/composer/autoload_real.php on line 66

Thanks in advance!

Project still alive ?

Hey @suomato - I have been rocking this theme for a couple of years and really enjoy it, so thanks for the original dev.

Are you still using it internally & will you be doing any more releases with updates dependancies e.g Bulma, Webpack & Vue etc ?

Thanks again.

'Dotenv\Dotenv' not found

Hi there,

I am excited to try out your theme as it seems really promising, but as soon as I enable the theme I am getting this error:

Fatal error: Uncaught Error: Class 'Dotenv\Dotenv' not found in C:\xampp\htdocs\conversionista\wp-content\themes\base-camp\app\bootstrap.php:7 Stack trace: #0 C:\xampp\htdocs\base-camp\wp-content\themes\base-camp\functions.php(4): require_once() #1 C:\xampp\htdocs\base-camp\wp-settings.php(426): include('C:\xampp\htdocs...') #2 C:\xampp\htdocs\base-camp\wp-config.php(89): require_once('C:\xampp\htdocs...') #3 C:\xampp\htdocs\base-camp\wp-load.php(37): require_once('C:\xampp\htdocs...') #4 C:\xampp\htdocs\base-camp\wp-admin\admin.php(31): require_once('C:\xampp\htdocs...') #5 C:\xampp\htdocs\base-camp\wp-admin\themes.php(10): require_once('C:\xampp\htdocs...') #6 {main} thrown in C:\xampp\htdocs\base-camp\wp-content\themes\base-camp\app\bootstrap.php on line 7

These are the original files, I tried re-installing, downloading again a few times. I also checked the files and the class is being called right after autoload.

I am trying this on Windows 10 / xampp php 7.1 and also Trellis/Bedrock/vagrant latest version. I have all dependencies installed as well :)

Thank you a lot!

Models

Hi @suomato, love your theme. Thank you for all the hard work. Wondering if you have a working example of how Models work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.