operatino on master
project on hold (compare)
operatino on master
CHANGE link to DSS project Merge pull request #4 from ndel… (compare)
index.srcor the output css. If you do any additonal processing, like with SASS, you’ll need to care of it separately, using Gulp or Grunt for example. The end set-up will look like this - you run SASS build with watcher, then you run SourceJS with browsersync plugin pointing to resulting the CSS.
Many thanks, @operatino. Will try to replay. I got other question — how I can rewrite path to component with custome route?
I have my components in
but wanna to show it with path as
I was try to use
global.app.use( '/projects/myproject/button/', express.static( path.join( pathToApp, global.opts.core.common.pathToUser, 'projects/myproject/markup/components/button/' ) ) );
but haven't effect =(
user/core/routes/index.js. You got the idea right, but what are you trying to do is creating a new static endpoint, when you actually need to reverse proxy from new path to real one, or you can do a redirect.
"message": "id and requested sections not found" }
html.json. By default it’s disabled in 0.5.6 https://github.com/sourcejs/Source/blob/master/options.js#L176, enable it and restart the app to run the process.
Hi @MohannadKhasawneh ,
sourcejs-jade plugin code is very simple, you can draft a PR for it. Here you can see the check https://github.com/sourcejs/sourcejs-jade/blob/master/core/middleware/index.js#L14, and in SourceJS core we have
req.specData["is" + capitalizedExtension] = true;, meaning that adding a check for
req.specData.isPug should be enough.
Trying to install sourcejs and when I run the "yo sourcejs" command and answer the following questions as such,
? Which action would you like to perform? Init SourceJS in this folder
? Run SourceJS server after install? (y/N) y
I receive the following error when the server attempts to start.
Error: Could not locate the bindings file. Tried: ...
Any ideas on what the issue is ?
The project been stale for a while and currently is in the [ON HOLD] state until we find new maintainer or original author get's back to the design systems field. SourceJS been brought to the public ahead of it's time, and turned out to be too ambitious to handle by a small team of people.