sone-vue-material

1.0.0 • Public • Published

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

See Configuration Reference.

Starting a new app

  1. 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

  1. Install Vue CLI 3 and use it to create your app.

	vue create my-new-app

  1. Add Vue Material to your project

	npm install vue-material --save

  1. Install sass dependences to use S1VM

	npm install sass-loader --save
	npm install node-sass --save

  1. Add all content from S1VM/src/style/ in assets/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

  1. (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;

Readme

Keywords

none

Package Sidebar

Install

npm i sone-vue-material

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

3.33 MB

Total Files

212

Last publish

Collaborators

  • hermogenes