generator-smag for Solid webapps
generator-smag for Solid webapps, provide :
# change permission
sudo chown -R $USER {path}
#example
sudo chown -R $USER /usr/local/lib/node_modules
one line :
npm install -g yo && mkdir cool-app && cd cool-app && npm install -g generator-smag && yo smag && npm run dev
or progressively :
npm install -g yo
mkdir cool-app && cd cool-app
npm install -g generator-smag
yo smag
npm run dev
npm run build
https://stackoverflow.com/questions/36782467/set-subdirectory-as-website-root-on-github-pages
create subbranch with dist folder
git add dist -f && git commit -m "Initial dist subtree commit"
npm run build && git subtree push --prefix dist origin gh-pages
npm publish –access public
https://yeoman.io/authoring/debugging.html
OS X / Linux DEBUG=yeoman:generator
Windows set DEBUG=yeoman:generator