`

安装 fis3

 
阅读更多

安装 fis3

 

1. 安装好 node-v4.6.0 以后,查看版本信息:

# node -v

 2. 安装 fis3

//全局安装
# sudo npm install fis3 -g

 3. 查看版本

# fis3 -v

 

npm install -g cnpm --registry=https://registry.npm.taobao.org

cnpm是淘宝的npm 镜像
装上cnpm后,以后的npm命令都可以用cnpm代替。
npm是走美国的服务器,经常安装非常慢,有时会很长时间安装不了,或者安装失败。
 
4.安装组件
cd .../fex/
sudo npm install
 5, 安装项目的组件
cd .../fex/newcar-che/develop/trunk
sudo npminstall
 xin@xin-VirtualBox:/var/www$ cd fex/
xin@xin-VirtualBox:/var/www/fex$ ll
总用量 8
drwxrwxr-x  2 xin  xin  4096 12月 12 16:25 ./
drwxrwxrwx 17 root root 4096 12月 12 16:25 ../
xin@xin-VirtualBox:/var/www/fex$ sudo cp -r /mnt/share/fex/newcar-che/ ./
xin@xin-VirtualBox:/var/www/fex$ sudo cp -r /mnt/share/fex/newcar-www/ ./
xin@xin-VirtualBox:/var/www/fex$ node -v
v4.6.0
xin@xin-VirtualBox:/var/www/fex$ fis3 -v

 [INFO] Currently running fis3 (/usr/local/lib/node_modules/.fis3_npminstall/node_modules/.3.4.24@fis3/)

  v3.4.24

   /\\\\\\\\\\\\\\\  /\\\\\\\\\\\     /\\\\\\\\\\\   
   \/\\\///////////  \/////\\\///    /\\\/////////\\\        
    \/\\\                 \/\\\      \//\\\      \///  
     \/\\\\\\\\\\\         \/\\\       \////\\\              
      \/\\\///////          \/\\\          \////\\\          
       \/\\\                 \/\\\             \////\\\      
        \/\\\                 \/\\\      /\\\      \//\\\  
         \/\\\              /\\\\\\\\\\\ \///\\\\\\\\\\\/   
          \///              \///////////    \///////////     

xin@xin-VirtualBox:/var/www/fex$ npm install xin-fe-conf && cd node_modules\xin-fe-conf && npm install
npm WARN package.json fex@ No repository field.
npm WARN package.json fex@ No license field.
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
xin-fe-conf@1.0.13 node_modules/xin-fe-conf
├── fis-prepackager-widget-inline@0.0.9
├── fis-prepackager-js-i18n@0.0.2
├── fis-optimizer-html-compress@0.0.7 (html-compress@0.0.4)
├── fis-optimizer-smarty-xss@0.1.4 (smarty-xss@0.0.11)
├── fis-parser-po@0.0.1 (node-po-ext@0.1.3)
├── fis-parser-bdtmpl@0.0.3 (baidutemplate-x@1.0.6)
├── fis-parser-utc@0.0.2 (underscore@1.4.4)
├── fis3-preprocessor-extlang@1.1.4 (velocityjs@0.7.0)
├── fis3-hook-commonjs@0.1.22 (esprima@2.7.3, source-map@0.5.6, jstransform@11.0.3, escope@3.6.0)
└── fis-parser-less@0.1.2 (less@1.7.5)
bash: cd: node_modulesxin-fe-conf: 没有那个文件或目录
xin@xin-VirtualBox:/var/www/fex$
xin@xin-VirtualBox:/var/www/fex$
xin@xin-VirtualBox:/var/www/fex$ npm install xin-fe-conf && cd node_modules/xin-fe-conf && npm install
npm WARN package.json fex@ No repository field.
npm WARN package.json fex@ No license field.
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
xin-fe-conf@1.0.13 node_modules/xin-fe-conf
├── fis-prepackager-widget-inline@0.0.9
├── fis-prepackager-js-i18n@0.0.2
├── fis-parser-bdtmpl@0.0.3 (baidutemplate-x@1.0.6)
├── fis-optimizer-smarty-xss@0.1.4 (smarty-xss@0.0.11)
├── fis-optimizer-html-compress@0.0.7 (html-compress@0.0.4)
├── fis-parser-po@0.0.1 (node-po-ext@0.1.3)
├── fis-parser-utc@0.0.2 (underscore@1.4.4)
├── fis3-preprocessor-extlang@1.1.4 (velocityjs@0.7.0)
├── fis-parser-less@0.1.2 (less@1.7.5)
└── fis3-hook-commonjs@0.1.22 (esprima@2.7.3, source-map@0.5.6, jstransform@11.0.3, escope@3.6.0)
npm WARN package.json xin-fe-conf@1.0.13 No repository field.
npm WARN package.json xin-fe-conf@1.0.13 No license field.
xin@xin-VirtualBox:/var/www/fex/node_modules/xin-fe-conf$ ll
总用量 24
drwxrwxr-x  3 xin xin 4096 12月 12 16:56 ./
drwxrwxr-x  3 xin xin 4096 12月 12 16:56 ../
-rw-rw-r--  1 xin xin 6893 11月 22 11:24 config.js
drwxrwxr-x 12 xin xin 4096 12月 12 16:56 node_modules/
-rw-rw-r--  1 xin xin 1446 12月 12 16:56 package.json
xin@xin-VirtualBox:/var/www/fex/node_modules/xin-fe-conf$ cd ..
xin@xin-VirtualBox:/var/www/fex/node_modules$ ll
总用量 12
drwxrwxr-x 3 xin xin 4096 12月 12 16:56 ./
drwxrwxr-x 6 xin xin 4096 12月 12 16:56 ../
drwxrwxr-x 3 xin xin 4096 12月 12 16:56 xin-fe-conf/
xin@xin-VirtualBox:/var/www/fex/node_modules$ ll
总用量 12
drwxrwxr-x 3 xin xin 4096 12月 12 16:56 ./
drwxrwxr-x 6 xin xin 4096 12月 12 16:56 ../
drwxrwxr-x 3 xin xin 4096 12月 12 16:56 xin-fe-conf/
xin@xin-VirtualBox:/var/www/fex/node_modules$ cd ..
xin@xin-VirtualBox:/var/www/fex$ ll
总用量 32
drwxrwxr-x  6 xin  xin  4096 12月 12 16:56 ./
drwxrwxrwx 17 root root 4096 12月 12 16:25 ../
drwxrwxrwx  8 xin  xin  4096 10月 21 13:59 common/
drwxr-xr-x  6 root root 4096 12月 12 16:26 newcar-che/
drwxr-xr-x  6 root root 4096 12月 12 16:26 newcar-www/
drwxrwxr-x  3 xin  xin  4096 12月 12 16:56 node_modules/
-rwxrwxrwx  1 xin  xin   747 10月 27 11:19 package.json*
-rwxrwxrwx  1 xin  xin  1679 11月 18 21:36 readme.txt*
xin@xin-VirtualBox:/var/www/fex$ sudo npm install
[sudo] xin 的密码:
npm WARN package.json fex@ No repository field.
npm WARN package.json fex@ No license field.
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
fis-prepackager-js-i18n@0.0.2 node_modules/fis-prepackager-js-i18n

fis-prepackager-widget-inline@0.0.9 node_modules/fis-prepackager-widget-inline

fis3-preprocessor-extlang@1.1.9 node_modules/fis3-preprocessor-extlang

fis-parser-bdtmpl@0.0.3 node_modules/fis-parser-bdtmpl
└── baidutemplate-x@1.0.6

fis-optimizer-smarty-xss@0.1.4 node_modules/fis-optimizer-smarty-xss
└── smarty-xss@0.0.11

fis-optimizer-html-compress@0.0.7 node_modules/fis-optimizer-html-compress
└── html-compress@0.0.4

fis-parser-po@0.0.1 node_modules/fis-parser-po
└── node-po-ext@0.1.3

fis-parser-utc@0.0.2 node_modules/fis-parser-utc
└── underscore@1.4.4

init-mock@0.0.2 node_modules/init-mock
└── json-format@0.1.2

fis3-server-smarty-xin@0.0.8 node_modules/fis3-server-smarty-xin
└── tar@2.2.0 (inherits@2.0.3, block-stream@0.0.9, fstream@1.0.10)

fis-parser-less@0.1.3 node_modules/fis-parser-less
└── less@1.7.5 (mime@1.2.11, graceful-fs@3.0.11, clean-css@2.2.23, mkdirp@0.5.1, source-map@0.1.43, request@2.40.0)

fis3-hook-commonjs@0.1.25 node_modules/fis3-hook-commonjs
├── esprima@2.7.3
├── source-map@0.5.6
├── jstransform@11.0.3 (object-assign@2.1.1, base62@1.1.2, esprima-fb@15001.1.0-dev-harmony-fb, source-map@0.4.4, commoner@0.10.8)
└── escope@3.6.0 (estraverse@4.2.0, esrecurse@4.1.0, es6-weak-map@2.0.1, es6-map@0.1.4)

rap-node-plugin-xin@1.2.3 node_modules/rap-node-plugin-xin
├── underscore@1.6.0
├── mockjs@1.0.0 (commander@2.9.0)
├── follow-redirects@1.2.0 (debug@2.3.3)
└── async@2.1.4 (lodash@4.17.2)

fis3-parser-babel2-strict@1.0.0 node_modules/fis3-parser-babel2-strict
└── babel-core@5.8.38 (path-is-absolute@1.0.1, slash@1.0.0, try-resolve@1.0.1, babel-plugin-remove-debugger@1.0.1, babel-plugin-remove-console@1.0.1, babel-plugin-inline-environment-variables@1.0.1, babel-plugin-react-display-name@1.0.3, babel-plugin-eval@1.0.1, babel-plugin-jscript@1.0.4, babel-plugin-property-literals@1.0.1, babel-plugin-react-constant-elements@1.0.3, babel-plugin-constant-folding@1.0.1, babel-plugin-member-expression-literals@1.0.1, babel-plugin-undefined-to-void@1.1.6, trim-right@1.0.1, path-exists@1.0.0, babel-plugin-dead-code-elimination@1.0.2, shebang-regex@1.0.0, to-fast-properties@1.0.2, babel-plugin-proto-to-assign@1.0.4, fs-readdir-recursive@0.1.2, private@0.1.6, babel-plugin-runtime@1.0.7, globals@6.4.1, esutils@2.0.2, convert-source-map@1.3.0, js-tokens@1.0.1, debug@2.3.3, source-map@0.5.6, babylon@5.8.38, babel-plugin-undeclared-variables-check@1.0.2, home-or-tmp@1.0.0, minimatch@2.0.10, chalk@1.1.3, bluebird@2.11.0, detect-indent@3.0.1, output-file-sync@1.1.2, is-integer@1.0.6, repeating@1.1.3, resolve@1.1.7, regexpu@1.3.0, source-map-support@0.2.10, json5@0.4.0, lodash@3.10.1, core-js@1.2.7, regenerator@0.8.40)
xin@xin-VirtualBox:/var/www/fex$ ll
总用量 32
drwxrwxr-x  6 xin  xin  4096 12月 12 16:56 ./
drwxrwxrwx 17 root root 4096 12月 12 16:25 ../
drwxrwxrwx  8 xin  xin  4096 10月 21 13:59 common/
drwxr-xr-x  6 root root 4096 12月 12 16:26 newcar-che/
drwxr-xr-x  6 root root 4096 12月 12 16:26 newcar-www/
drwxrwxr-x 17 xin  xin  4096 12月 12 17:04 node_modules/
-rwxrwxrwx  1 xin  xin   747 10月 27 11:19 package.json*
-rwxrwxrwx  1 xin  xin  1679 11月 18 21:36 readme.txt*
xin@xin-VirtualBox:/var/www/fex$ cd node_modules/
xin@xin-VirtualBox:/var/www/fex/node_modules$ l
fis3-hook-commonjs/         fis3-server-smarty-xin/       fis-parser-bdtmpl/  fis-parser-utc/                 init-mock/
fis3-parser-babel2-strict/  fis-optimizer-html-compress/  fis-parser-less/    fis-prepackager-js-i18n/        rap-node-plugin-xin/
fis3-preprocessor-extlang/  fis-optimizer-smarty-xss/     fis-parser-po/      fis-prepackager-widget-inline/  xin-fe-conf/
xin@xin-VirtualBox:/var/www/fex/node_modules$ ll
总用量 68
drwxrwxr-x 17 xin xin 4096 12月 12 17:04 ./
drwxrwxr-x  6 xin xin 4096 12月 12 16:56 ../
drwxr-xr-x  5 xin xin 4096 12月 12 17:04 fis3-hook-commonjs/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis3-parser-babel2-strict/
drwxr-xr-x  4 xin xin 4096 12月 12 17:04 fis3-preprocessor-extlang/
drwxr-xr-x  4 xin xin 4096 12月 12 17:04 fis3-server-smarty-xin/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis-optimizer-html-compress/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis-optimizer-smarty-xss/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis-parser-bdtmpl/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis-parser-less/
drwxr-xr-x  4 xin xin 4096 12月 12 17:04 fis-parser-po/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis-parser-utc/
drwxr-xr-x  2 xin xin 4096 12月 12 17:04 fis-prepackager-js-i18n/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 fis-prepackager-widget-inline/
drwxr-xr-x  3 xin xin 4096 12月 12 17:04 init-mock/
drwxr-xr-x  5 xin xin 4096 12月 12 17:04 rap-node-plugin-xin/
drwxrwxr-x  3 xin xin 4096 12月 12 16:56 xin-fe-conf/
xin@xin-VirtualBox:/var/www/fex/node_modules$ cd ..
xin@xin-VirtualBox:/var/www/fex$ ll
总用量 32
drwxrwxr-x  6 xin  xin  4096 12月 12 16:56 ./
drwxrwxrwx 17 root root 4096 12月 12 16:25 ../
drwxrwxrwx  8 xin  xin  4096 10月 21 13:59 common/
drwxr-xr-x  6 root root 4096 12月 12 16:26 newcar-che/
drwxr-xr-x  6 root root 4096 12月 12 16:26 newcar-www/
drwxrwxr-x 17 xin  xin  4096 12月 12 17:04 node_modules/
-rwxrwxrwx  1 xin  xin   747 10月 27 11:19 package.json*
-rwxrwxrwx  1 xin  xin  1679 11月 18 21:36 readme.txt*
xin@xin-VirtualBox:/var/www/fex$ cd newcar-che/
xin@xin-VirtualBox:/var/www/fex/newcar-che$ kk
kk:未找到命令
xin@xin-VirtualBox:/var/www/fex/newcar-che$ ^C
xin@xin-VirtualBox:/var/www/fex/newcar-che$ ll
总用量 24
drwxr-xr-x 6 root root 4096 12月 12 16:26 ./
drwxrwxr-x 6 xin  xin  4096 12月 12 16:56 ../
drwxr-xr-x 2 root root 4096 12月 12 16:26 bug/
drwxr-xr-x 3 root root 4096 12月 12 16:26 develop/
drwxr-xr-x 2 root root 4096 12月 12 16:26 master/
drwxr-xr-x 2 root root 4096 12月 12 16:26 release/
xin@xin-VirtualBox:/var/www/fex/newcar-che$ cd develop/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop$ ll
总用量 12
drwxr-xr-x  3 root root 4096 12月 12 16:26 ./
drwxr-xr-x  6 root root 4096 12月 12 16:26 ../
drwxr-xr-x 10 root root 4096 12月 12 16:26 trunk/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop$ cd trunk/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk$ ll
总用量 56
drwxr-xr-x 10 root root 4096 12月 12 16:26 ./
drwxr-xr-x  3 root root 4096 12月 12 16:26 ../
drwxr-xr-x  3 root root 4096 12月 12 16:26 che_views/
drwxr-xr-x  2 root root 4096 12月 12 16:26 components/
-rwxr-xr-x  1 root root 3790 12月 12 16:26 fis-conf.js*
-rwxr-xr-x  1 root root  408 12月 12 16:26 package.json*
drwxr-xr-x  2 root root 4096 12月 12 16:26 page/
drwxr-xr-x  2 root root 4096 12月 12 16:26 plugin/
-rwxr-xr-x  1 root root  112 12月 12 16:26 release.bat*
-rwxr-xr-x  1 root root  139 12月 12 16:26 server.conf*
drwxr-xr-x  5 root root 4096 12月 12 16:26 static/
drwxr-xr-x  3 root root 4096 12月 12 16:26 test/
drwxr-xr-x  4 root root 4096 12月 12 16:26 views/
drwxr-xr-x 10 root root 4096 12月 12 16:26 widget/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk$ ll
总用量 56
drwxr-xr-x 10 root root 4096 12月 12 16:26 ./
drwxr-xr-x  3 root root 4096 12月 12 16:26 ../
drwxr-xr-x  3 root root 4096 12月 12 16:26 che_views/
drwxr-xr-x  2 root root 4096 12月 12 16:26 components/
-rwxr-xr-x  1 root root 3790 12月 12 16:26 fis-conf.js*
-rwxr-xr-x  1 root root  408 12月 12 16:26 package.json*
drwxr-xr-x  2 root root 4096 12月 12 16:26 page/
drwxr-xr-x  2 root root 4096 12月 12 16:26 plugin/
-rwxr-xr-x  1 root root  112 12月 12 16:26 release.bat*
-rwxr-xr-x  1 root root  139 12月 12 16:26 server.conf*
drwxr-xr-x  5 root root 4096 12月 12 16:26 static/
drwxr-xr-x  3 root root 4096 12月 12 16:26 test/
drwxr-xr-x  4 root root 4096 12月 12 16:26 views/
drwxr-xr-x 10 root root 4096 12月 12 16:26 widget/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk$ cd components/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk/components$ ll
总用量 8
drwxr-xr-x  2 root root 4096 12月 12 16:26 ./
drwxr-xr-x 10 root root 4096 12月 12 16:26 ../
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk/components$ cd ..
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk$ ll
总用量 56
drwxr-xr-x 10 root root 4096 12月 12 16:26 ./
drwxr-xr-x  3 root root 4096 12月 12 16:26 ../
drwxr-xr-x  3 root root 4096 12月 12 16:26 che_views/
drwxr-xr-x  2 root root 4096 12月 12 16:26 components/
-rwxr-xr-x  1 root root 3790 12月 12 16:26 fis-conf.js*
-rwxr-xr-x  1 root root  408 12月 12 16:26 package.json*
drwxr-xr-x  2 root root 4096 12月 12 16:26 page/
drwxr-xr-x  2 root root 4096 12月 12 16:26 plugin/
-rwxr-xr-x  1 root root  112 12月 12 16:26 release.bat*
-rwxr-xr-x  1 root root  139 12月 12 16:26 server.conf*
drwxr-xr-x  5 root root 4096 12月 12 16:26 static/
drwxr-xr-x  3 root root 4096 12月 12 16:26 test/
drwxr-xr-x  4 root root 4096 12月 12 16:26 views/
drwxr-xr-x 10 root root 4096 12月 12 16:26 widget/
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk$ sudo npm install
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
npm WARN package.json @ No license field.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
fis3-preprocessor-cssspace@1.1.1 node_modules/fis3-preprocessor-cssspace

fis3-preprocessor-extlang@1.1.9 node_modules/fis3-preprocessor-extlang

fis-optimizer-html-compress@0.0.7 node_modules/fis-optimizer-html-compress
└── html-compress@0.0.4

fis3-hook-commonjs@0.1.25 node_modules/fis3-hook-commonjs
├── esprima@2.7.3
├── source-map@0.5.6
├── jstransform@11.0.3 (object-assign@2.1.1, base62@1.1.2, esprima-fb@15001.1.0-dev-harmony-fb, source-map@0.4.4, commoner@0.10.8)
└── escope@3.6.0 (estraverse@4.2.0, esrecurse@4.1.0, es6-weak-map@2.0.1, es6-map@0.1.4)

fis3-postprocessor-autoprefixer@1.0.0 node_modules/fis3-postprocessor-autoprefixer
├── postcss-gradientfixer@0.0.5
├── postcss-flexboxfixer@0.0.4
├── postcss@5.0.13 (js-base64@2.1.9, source-map@0.5.6, supports-color@3.1.2)
└── autoprefixer@6.3.1 (normalize-range@0.1.2, num2fraction@1.2.2, postcss-value-parser@3.3.0, browserslist@1.1.3, postcss@5.2.6, caniuse-db@1.0.30000597)

fis3-parser-babel2-strict@1.0.0 node_modules/fis3-parser-babel2-strict
└── babel-core@5.8.38 (slash@1.0.0, try-resolve@1.0.1, babel-plugin-remove-console@1.0.1, babel-plugin-remove-debugger@1.0.1, babel-plugin-eval@1.0.1, babel-plugin-inline-environment-variables@1.0.1, babel-plugin-constant-folding@1.0.1, babel-plugin-dead-code-elimination@1.0.2, babel-plugin-property-literals@1.0.1, babel-plugin-react-constant-elements@1.0.3, babel-plugin-react-display-name@1.0.3, babel-plugin-jscript@1.0.4, babel-plugin-member-expression-literals@1.0.1, path-exists@1.0.0, babel-plugin-undefined-to-void@1.1.6, trim-right@1.0.1, to-fast-properties@1.0.2, shebang-regex@1.0.0, fs-readdir-recursive@0.1.2, babel-plugin-proto-to-assign@1.0.4, path-is-absolute@1.0.1, babel-plugin-runtime@1.0.7, globals@6.4.1, private@0.1.6, esutils@2.0.2, convert-source-map@1.3.0, js-tokens@1.0.1, home-or-tmp@1.0.0, babel-plugin-undeclared-variables-check@1.0.2, babylon@5.8.38, source-map@0.5.6, debug@2.3.3, chalk@1.1.3, detect-indent@3.0.1, is-integer@1.0.6, repeating@1.1.3, minimatch@2.0.10, bluebird@2.11.0, output-file-sync@1.1.2, resolve@1.1.7, source-map-support@0.2.10, regexpu@1.3.0, json5@0.4.0, lodash@3.10.1, regenerator@0.8.40, core-js@1.2.7)
xin@xin-VirtualBox:/var/www/fex/newcar-che/develop/trunk$ ll

分享到:
评论

相关推荐

    前端开源库-fis3-deploy-replace

    前端开源库-fis3-deploy-replaceFIS3部署替换,FIS3部署替换

    fis3-hook-node_modules:fis3 node_modules支持

    添加commonjs支持(需要先安装fis3-hook-commonjs) fis . hook ( 'commonjs' , { extList : [ '.js' , '.jsx' , '.es' , '.ts' , '.tsx' ] } ) 为node_modules文件添加针对mod.js的转换 fis . match ( '/node_...

    fis3:FIS3

    FIS3 FIS3面向前端的工程集成系统。解决前端工程中的性能优化,资源加载(异步,同步,按需,预加载,依赖管理,合并,内嵌),部署开发,自动化工具,开发规范,代码部署等问题。 如果对FIS先有所了解,但理解不深...

    前端 后端 Fis3+Es6+Smarty+Tmpl

    Fis3+Es6+Smarty+Tmpl 项目实战 阅读以下部分假定你已经了解: 构建工具 Fis3 基于Smarty的解决方案 Fis-Smarty 一些杂碎 Less, Tmpl, Es6 ... 微薄网站的设计与实现 功能 展示,留言,评论,评论量,访问量 ...

    百度地图开发java源码-fis:fis学习

    安装完成后执行fis3 -v判断是否安装成功,如果安装成功,则显示类似如下信息 FIS 升级 FIS3 npm update -g fis3 FIS3插件 fis3 中内嵌了很多常用的插件 fis-optimizer-clean-css 压缩css fis-optimizer-png-...

    前端开源库-fis3-packager-deps-pack

    前端开源库-fis3-packager-deps-packfis3 packager deps pack,pack resource include dependencies.

    fis-thinkphp:fis3 在 thinkphp 默认模板上的解决方案

    1.安装node + fis3 2.安装wamp或者xampp,或者其他的服务器软件 3.配置一个网站,把网站根目录指到 xxxx/ 4.用cmd,cd到 xxxx/ 5.执行fis3 release -d xxxx/ 6.在浏览器浏览你的网站吧 ##解说 F2E是我们的开发目录,...

    fis3-ouj:基于FIS3的前端组件化解决方案

    fis3-ouj基于FIS3的前端组件化解决方案文档coming soon使用方法安装npm install -g fis3npm install -g fis3-ouj配置使用// vi fis-conf.jsfis.require('ouj')(fis);目录结构component目录site ├── widget #组件...

    rosetta:Rosetta 脚手架模板

    安装 fis3 npm install fis3 -g 初始化 mkdir demo cd demo fis3 init rosetta 运行 & 预览 使用 FIS3 提供 server 预览 环境要求:php-cgi > 5.2, java > 1.6 (安装后莫忘设置环境变量) fis3 release fis3 server...

    fis3-deploy-http-push-strong

    fis3 http 部署插件加强版扩展了FIS 默认的部署插件,主要提供了release后的不同目录的定制化发布功能,兼容fis3内置上传服务写法安装全局安装npm install fis3-deploy-http-push-strong -g或者本地安装npm install ...

    fis3-deploy-tar:deploy 阶段用 tar 的方式打包资源

    fis3-deploy-tar 用来在 fis3 deploy 阶段用 tar 的方式打包资源。 安装插件 全局安装 npm install -g fis3-deploy-tar 或者本地安装到项目所在目录。 npm install fis3-deploy-tar 配置 fis.match('**', { deploy:...

    fis3-postprocessor-html-django:Fis3 Django模板解析器

    Fis3 Django Template Parser First: * django模板引擎采用'A wrapper of Django's template engine'方式(桥接原理) * 详见:https://www.npmjs.com/package/django * * 在启用之前请确保python环境已经ready,...

    前端开源库-fis3-command-install

    前端开源库-fis3-command-installfis3命令安装,从fis-conf.js获取NPM依赖项并安装。

    fis3-hook-module:fis3 模块化开发支持!

    fis3-hook-module Deprecated 不再更新 已被拆分成多个插件,放一起容易带来麻烦,请迁移对应的插件中。 Common Js 方案请使用 AMD 方案请使用 CMD 方案请使用 fis3 已经默认不自带模块化开发支持,需要此插件来完成...

    fis-parser-handlebars:用于 fis 预编译车把模板的解析器插件

    安装插件:npm install -g fis-parser-handlebars2. 配置// fis-conf.jsfis.config.set('modules.parser.handlebars', 'handlebars');fis.config.set('project.fileType.text', 'handlebars');fis.config.set('...

    react-router-redux-mobile-spa:基于fis3 + react + redux + react-router移动端单页面应用

    喜欢的话请star支持下〜单页效果:安装启动本项目构建基于fis3 ,不熟悉fis3的可以先去学习下。安装依赖包npm i --registry=https://registry.npm.taobao.org ,指定淘宝源可加速遵循依赖启动fis3服务器服务

    fis3-postprocessor-extras_uri:fis 资源定位增强

    fis3-postprocessor-extras_urifis 资源定位增强场景fis 可以很好的将 html 中 img, link, script 等的路径在发布...安装npm i fis3-postprocessor-extras_uri -g使用配置文件 fis-conf.js:fis.match('*.html', { pos

    fis3-hook-cmd:fis3 cmd(sea.js) 模块化开发支持

    fis3-hook-cmd fis3 已经默认不自带模块化开发支持,那么如果需要采用 cmd 规范作为模块化开发,请使用此插件。 请配合 sea.js 一起使用。 注意:需要对目标文件设置 isMod 属性,说明这些文件是模块化代码。 fis....

    fis-parser-js-macro:用于fis和fis3的简单js宏

    用于fis和fis3的简单js宏安装npm install -g fis-parser-js-macro演示版{ { if ( define . product == 'mobile' ) } } console . log ( "true" ) ; { { if ( true ) } } console . log ( 'fsdffs' ) { { if ( ! ...

    default:快速初始化fis 项目

    FIS3 脚手架默认模板安装 fis3npm install fis3 -g初始化mkdir democd demofis3 init运行 & 预览fis3 releasefis3 server start产出产品代码fis3 release production -d ./output

Global site tag (gtag.js) - Google Analytics