# requirejs-simple-skeletons **Repository Path**: ocre/requirejs-simple-skeletons ## Basic Information - **Project Name**: requirejs-simple-skeletons - **Description**: 适用于requirejs(AMD规范)模块化方案的简单js项目模板 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # requirejs-simple-skeletons #### 介绍 适用于requirejs(AMD规范)模块化方案的简单js项目模板 默认添加了jQuery和bootstrap依赖。并自带一个小demo(www-demo目录)。 修改自[volojs/create-template](https://github.com/volojs/create-template) This web project has the following setup: * www/ - the web assets for the project * index.html - the entry point into the app. * app.js - the top-level config script used by index.html * app/ - the directory to store project-specific scripts. * lib/ - the directory to hold third party scripts. * tools/ - the build tools to optimize the project. * www-demo/ - demo project * tools/ - build tools To run or debug, just open *index.html* in your web browser such as Chrome, Firefox. To optimize, run: > node tools/r.js -o tools/build.js That build command creates an optimized version of the project in a www-list directory. The app.js file will be optimized to include all of its dependencies. For more information on the optimizer: http://requirejs.org/docs/optimization.html For more information on using requirejs: http://requirejs.org/docs/api.html