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
Post a Comment