cts与css,GitHub - cts/cts: CTS Javascript Runtime
Cascading Tree SheetsCascading Tree Sheets (CTS) is a CSS-like language to describe web structure.This is the Javascript implementation of Cascading Tree Sheets(CTS).DependenciesBefore you get started
Cascading Tree Sheets
Cascading Tree Sheets (CTS) is a CSS-like language to describe web structure.
This is the Javascript implementation of Cascading Tree Sheets
(CTS).
Dependencies
Before you get started, make sure you have installed the following tools:
NodeJS + NPM
Grunt
Initial Development Setup
To set up a brand new CTS development environment, perform the following steps:
Create a new, empty directory and from within it, run:
Change into the cts directory that was just created.
Run npm install.
Run grunt setup.
This will link the dependencies of that project to the other repositories downloaded by the setup script.
Since the Duo package manager is typically used for production builds, it requires packages straight from Github instead of your local environment. To get around this, grunt downloads these packages from Github into the build-tmp/components directory, then symlinks those cts-* directories with your local versions. This is done by the src/build-scripts/grunt-contrib-projectsetup.js file.
Building CTS
You can build CTS by running grunt from inside the cts project. You'll find the output in the build directory. If the build-tmp directory is ever deleted, you need to re-run grunt setup to symlink the directories properly. Otherwise, none of your local changes will end up in the build file.
License
This software is made available under the BSD License.
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
所有评论(0)