sone-vue-material
v1.0.0
Published
A CSS extension to help **Solutions One Design + Vue Material** work perfectly together. Documentation [here](https://s1vm.netlify.com/)
Downloads
4
Readme
S1VM
A CSS extension to help Solutions One Design + Vue Material work perfectly together. Documentation here
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Customize configuration
Starting a new app
- First, we recommend that you have the following ready environment: a. NodeJS link b. NPM link c. Ruby (to local sass compile) link d. Ruby Sass (to local sass compile) link e. windows-build-tools link
- Install Vue CLI 3 and use it to create your app.
vue create my-new-app
- Add Vue Material to your project
npm install vue-material --save
- Install sass dependences to use S1VM
npm install sass-loader --save
npm install node-sass --save
- Add all content from
S1VM/src/style/
inassets/css/
//FROM S1VM
src/
style/
layout
theme
_global-variables.scss
index.scss
layout.scss
theme.scss
//TO YOUR APP PROJECT
assets/
css/
layout
theme
_global-variables.scss
index.scss
layout.scss
theme.scss
- (Optional) We have some high-level settings to you.
a. Use md-register-theme
in theme.scss
to configure the colors of your app. See the documentation here (Vue Material - Themes - Configuration)
@include md-register-theme(
"default",
(
primary: md-get-palette-color(blue, 900),
accent: md-get-palette-color(pink, 500)
)
);
b. Use _global-variables.scss
to configure S1VM bg- color and general settings.
//S1VM Settings
$utilitiesClassNamePrefix: "s1-U";
$forceSuffix: "-force";
//THEME
$app-background-color: #fafafa;