mirror of
https://github.com/oxalorg/sakura.git
synced 2026-04-03 00:08:52 -06:00
Generate a quick index.html with sakura loaded #122
Labels
No labels
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
discussion
discussion
discussion
discussion
discussion
discussion
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good-first-issue
help wanted
help wanted
javascript
javascript
javascript
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/sakura#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhouzi on 5/4/2017
I like the idea of having a demo page/blog/landing page with little efforts. It would be even easier if we could just run
sakurato create:index.html would include a basic html structure with sakura.css loaded. It could do more than that though, for example:
sakura README.md- generate an index.html file with the html generated from the markdown filesakura --theme light- generate html file with the light theme loadedTo accomplish that, the repository would just need to include a few js files. You can then declare executables in the package.json and publish them. Users could run
npm install sakura --globaland thensakura.No need to lookup for the cdn url or download the css file. No need to create an index.html files with the basic structure.
Happy to submit a PR if that sounds good.