meteor - Semantic-ui only worked AFTER editing custom.semantic.json, w/ MeteorJS -


steps:

meteor create semantic-ui  cd semantic-ui  meteor add semantic:ui   meteor add flemay:less-autoprefixer  meteor run 

update semantic-ui.html semantic-ui script:

<template name="hello">   <button>click me</button>   <p>you've pressed button {{counter}} times.</p>      <div class="ui 3 buttons">       <button class="ui active button">one</button>       <button class="ui button">two</button>       <button class="ui button">three</button>     </div>  </template> 

i not see semantic ui styling.

create new file client/lib/custom.semantic.json don't edit it.

after meteor server re-starts: still no semantic ui in browser.

if edit custom.semantic.json i.e. change "accordion": true, to: "accordion": false,... once meteor server starts see semantic ui styling.

i have check following codes, wonder if notice

note: if happy default values need remove .custom.semantic.json generate semantic ui. (see generating trigger)

after rename .custom.semantic.json custom.semantic.json, works.


Comments

Popular posts from this blog

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -