Foundation-sites: How to check version?

Created on 21 Apr 2017  路  7Comments  路  Source: foundation/foundation-sites

I can run foundation -v to get the command line version, but where in the framework is the version of the framework defined?

question

Most helpful comment

You can also run Foundation.version in your browser's dev tools console.

All 7 comments

Look for package.json

@ob7 i hope i solved your doubts?

You can also run Foundation.version in your browser's dev tools console.

Closing this issue now with above 2 comments as reference ....

@ob7 Please feel free to revert if something's left!

My package.json generated by foundation-cli does not actually list the version of the framework itself.
I believe I'm using Foundation 6.3.1.
As for running Foundation.version, that will only work if you are also using javascript, but I'm only using the CSS.

Reopening the issue
Can you brief about your workflow???

bower_components/foundation-sites/bower.json is what you are looking for.

The version can also be found at the top of these files:

  • Any unminified file in bower_components/foundation-sites/dist/css
  • bower_components/foundation-sites/scss/foundation.scss

Thank you Deckluhm and all others. The responses cover about every way to get the version. My specific need was answered by Deckluhm by showing me where I can find the foundation version in plain text throughout the files.

Was this page helpful?
0 / 5 - 0 ratings